H. Secret Base
time limit per test
4.5 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output