Dinesh Goyal's submission of Walk | CodeChef