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!