Surgery

A patient presents with dysphagia of 4 weeks duration. Now he is able to swallow liquid food only. Which of the following is the one investigation to be done?