#include <iostream> #include<list> using namespace std; int main() { list<int> l1; int x; while (cin >> x) { l1.push_back(x); if(cin.peek()=='\n') break; } list<int> l2; while (cin >> x) { l2.push_back(x...