#include <>iostream> using namespace std; int main(){ int a; cin>>a; if((a>=10)&&(a<100)){ cout<<"1"<<endl; cout<<!a<<endl; } return 0; }