#include using namespace std; int main() { int x; cin>>x; (x==0)? cout<<1<