#include <iostream> #include <algorithm> #include <string> #include <vector> #include <unordered_map> using namespace std; int main() { int n; cin >> n; vector<int> vec(2 * n,0); int i = 0; int high; while (i < n && cin &g...