Devesh Agarwal's submission of Variation | CodeChef