Pediatrics

A term newborn presents with frothing, excessive drooling of saliva, coughing of saliva. There was history of polyhydramnios in antenatal period. There is difficulty in passing a nasogastric tube. What is the probable diagnosis?