_Sam's submission of Sereja and Salesman | CodeChef