#include <stdio.h>#include <stdlib.h>
int main(){ int a; while(scanf("%d",&a)!=EOF){
printf("%d",abs(a*1-1));
} //system("PAUSE"); return 0;}
abs那邊用的是絕對值~~