#include #include #include #include #include #include #include #include #include #include #include #include #define vll vector #define vvvl vector #define vvl vector> #define VV(a, b, c, d) vector>(a, vector(b, c)) #define VVV(a, b, c, d) vector(a, vvl(b, vll (c, d))); #define re(c, b) for(ll c=0;c> a >> b >> c; std::cin >> d >> e >> f; while(b.size()<100000) b = '0' + b; while(e.size()<100000) e = '0' + e; if(be) std::cout << a << '\n'; else std::cout << -1 << '\n'; }