#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; int num; vector<int> vec1, vec2, vec3; while (cin >> num) { vec1.push_back(num); vec2.push_back(num); vec3.pu...