#include<iostream> using namespace std; int main() { int a; bool s ; int d; cin>>a; s=bool(a); d=int(s); cout<<d<<endl; }