Tej's submission of Walk | CodeChef