#include int main() { int A= 0; scanf("%d",&A); if(A == 1) { printf("0"); } else { printf("1"); } return 0; }