#include using namespace std; int main() { int x, y; cin >> x >> y; cout << "3 \n"; cout << "1 0\n"; cout << "2 " << 1ll * x * y << "\n"; cout << "3 0\n"; }