#include #include #include #include #include using namespace std; using int64 = long long; using P = pair; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int64 n,m,k; cin >> n >> m >> k; char op; cin >> op; bool plus = op == '+'; vector a(n); vector b(m); for (int64 i=0; i> b[i]; for (int64 i=0; i> a[i]; if (plus) { for (int i=0; i mp; for (int i=0; i