CHECKING: The input can be modified to better suit all test cases. All submissions to this problem can be re-judged.
Sorry, but your browser does not support iframes.
Code your solution and submit!
On October 24th 2021, as widely informed in our communication channels and
social media, the URI Online Judge entered a new phase
and was renamed to beecrowd.
Our URL has changed along with the change in our name.
New URL: www.beecrowd.com.br
To ensure a smooth transition, we've preserved our original URL and will redirect your access
to the new URL from now onwards.
We look forward to seeing you on our new web address!