Time limit: 1s
Memory limit: 64MB
Input:
Output:
To view the problem statement, select the PDF statement format.
Submitting a solution
Enter the answer for each test case on a separate line. You can download the test cases from the side panel