#include <iostream> using namespace std; int main(){ int f=0;// 寮€鍏冲垵濮嬬姸鎬佸叧闂? int m; cin>>m; cout<<f+m%2; return 0; }