jivesh gupta's submission of Weird Walk | CodeChef