#include #include #include using namespace std; using ll = long long; int main(){ int n; cin >> n; vector a(n),b(n-1); for(int i=0;i> a[i]; } for(int i=0;i> b[i]; } vector ans; ll now =0; sort(a.begin(),a.end()); sort(b.begin(),b.end()); for(int i=0;i mi)continue; ans.push_back(a[i+1]); } sort(ans.begin(),ans.end()); ans.erase(unique(ans.begin(),ans.end()),ans.end()); cout << ans.size() << endl; for (int i:ans){ cout << i << " "; } cout << endl; return 0; }