aman agarwal's submission of Perfection | CodeChef