aman agarwal's submission of Manhattan Rectangle | CodeChef