Nikolay Domashenko's submission of Rectangle | CodeChef