#include using namespace std; int main(){ int64_t X, Y; cin >> X >> Y; for(int64_t Z = X % 4; Z < 12; Z += 4){ if(Z != X and Z != Y) cout << Z << '\n'; } }