#include <iostream> #include <vector> #include <bits/stdc++.h> using namespace std; int main() { int x =0; int y =0; int xflag =1; int yflag =1; string str ; string str1; string str2; cin >> str; vector<string> v; for(auto c:str){ if(c==';'){ v.push_back(str1); str1.res...