#include using namespace std; int main(){ string s; if(!(cin>>s)){ cout<<1<