#include <iostream>

using namespace std;

class ABC
{
public:
    void f1() { cout << "#1" << endl; }
    void f2() { cout << "#2" << endl; }
};

int main()
{
    void (ABC::*f[])() = {&ABC::f1, &ABC::f2};
    ABC myClass;
	int x;
	
	while(cin >> x)
	    (myClass.*f[x&1])();

    return 0;
}