amarmalik's submission of Project Mayhem | CodeChef