提交时间:2026-05-22 14:33:49

运行 ID: 88977

#include <iostream> using namespace std; int main() { int M; cin >> M; cout << (M % 2 == 1 ? 1 : 0) << endl; return 0; }