#include #include using namespace std; int main() { int c[3]; cin>>c[1]>>c[2]>>c[3]; if(c[2]==3){cout<<1<