#include using namespace std; int main(){ string S;cin>>S; if(S=="1")cout<<1<