Ashwin Chourasia's submission of The Wave | CodeChef