#include <iostream>
using namespace std;
int main() {
string x;
int t;
for(int q = 0; q < 2; ++ q) {
for(int i = 0; i < 5; ++ i) {
cin >> x;
cout << "[" << x << "]" << endl;
}
for(int i = 0; i < 5; ++ i) {
cin >> t;
cout << "[" << t << "]" << endl;
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkKCXN0cmluZyB4OwoJaW50IHQ7CgkKCWZvcihpbnQgcSA9IDA7IHEgPCAyOyArKyBxKSB7CgkJZm9yKGludCBpID0gMDsgaSA8IDU7ICsrIGkpIHsKCQkJY2luID4+IHg7CgkJCWNvdXQgPDwgIlsiIDw8IHggPDwgIl0iIDw8IGVuZGw7CgkJfQoJCWZvcihpbnQgaSA9IDA7IGkgPCA1OyArKyBpKSB7CgkJCWNpbiA+PiB0OwoJCQljb3V0IDw8ICJbIiA8PCB0IDw8ICJdIiA8PCBlbmRsOwoJCX0KCX0KCQoJcmV0dXJuIDA7Cn0=
YWRkCnN1YnRyYWN0Cm11bHRpcGx5CmRpdmlkZQp3dGYKMjE0NzQ4MzY0NwozMTI4NzMyODE4CjM0OTgxOTM5MTkKMzk1ODE5OTMxMQo0MTI0OTgyOTE5CmFkZApzdWJ0cmFjdAptdWx0aXBseQpkaXZpZGUKd3RmCjIxNDc0ODM2NDcKMzEyODczMjgxOAozNDk4MTkzOTE5CjM5NTgxOTkzMTEKNDEyNDk4MjkxOQ==
add
subtract
multiply
divide
wtf
2147483647
3128732818
3498193919
3958199311
4124982919
add
subtract
multiply
divide
wtf
2147483647
3128732818
3498193919
3958199311
4124982919