#include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int X,Y; cin >> X >> Y; cout << 4 << endl; cout << X << " " << Y << " " << Y << " " << Y << endl; int t; cin >> t; if(t == X) cout << X << endl; else cout << (X^1) << endl; }