Karthik's submission of Sign Wave | CodeChef