#include int main() { int num; scanf("%d",&num); printf("%d",num ^ 1); return 0; }