inters = int(input()) result =0 if inters == 0: result= 1 print(result)