Extra spaces in your output may lead to "Wrong Answer".
QOJ.ac
QOJ
Time Limit:
8.0 s
Memory Limit:
1024 MB
Hackable ✓
Xuzhou Regional 2018
M. Rikka with Illuminations
This problem is prepared by
clrs97 .