J. Do It Yourself?
time limit per test
10 seconds
memory limit per test
1024 megabytes
input
standard input
output
standard output

Please read the problem statements here.