aman agarwal's submission of Max power | CodeChef