H. Modern Djinn
time limit per test
0.4 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output