#include int main() { int num; scanf("%d",&num); (num)?puts("0"):puts("1"); return 0; }