Dinesh Goyal's submission of Chef and Chain | CodeChef