#include int main(){int d;scanf("%d", &d);printf("%d\n", !d);}