D. GL Convolution (gcdlcm)
time limit per test
1.5 seconds
memory limit per test
1024 megabytes
input
standard input
output
standard output