Fengyi Chen 4b8c0c58eb d
2024-05-14 22:28:09 +08:00

15 lines
148 B
C++

#include <iostream>
using namespace std;
int main(){
int n;
cin >> n ;
if(n % 2 == 1)
{
cout << 1 ;
}
else
{
cout << 0 ;
}
return 0;
}