#include <bits/stdc++.h> using namespace std; int main() { int x,y; cin>>x>>y; int z=3-x-y; if (x==y) { cout<<x; } else { cout<<z; } return 0; }
Using your lizikid universal account