Avishake Maji's submission of The Wave | CodeChef