#include<iostream>using namespace std;main(){ int n; cin>>n; if(n==0) cout<<'1'<<endl; else cout<<'0'<<endl;}
6666666...9999999...