Dinesh Goyal's submission of Gasoline | CodeChef