Due to technical issues, this problem is configured as an interactive problem.
If you read input until EOF, please flush output buffer after writing each output.
The 3rd Universal Cup Finals is coming! Join our Warm-up Game and Prediction Game and win the prizes! Learn more...
Due to technical issues, this problem is configured as an interactive problem.
If you read input until EOF, please flush output buffer after writing each output.
The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.
This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.
If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.
Guidelines: