Time limit: 1sMemory limit: 64MBInput: 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
To view the problem statement, select the PDF statement format.
Enter the answer for each test case on a separate line. You can download the test cases from the side panel