Problem:
 Score : 100 points    Problem Statement Given is an integer x that is greater than or equal to 0 , and less than or equal to 1 .
Output 1 if x is equal to 0 , or 0 if x is equal to 1 .      Constraints  0 \leq x \leq 1  x is an integer         Input Input is given from Standard Input in the following format:  x       Output Print 1 if x is equal to 0 , or 0 if x is equal to 1 .        Sample Input 1 1      Sample Output 1 0       Sample Input 2 0      Sample Output 2 1

Solution (Python):
print(1 if int(input()) == 0 else 0)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
from functools import reduce
from fractions import gcd
import math
import bisect
import itertools
import sys
input = sys.stdin.readline
INF = float("inf")



def main():
    print(int(input()) ^ 1)


if __name__ == '__main__':
    main()

Solution (Python):
print(int(input())^1)

Solution (Python):
x = int(input())
print(0 if x == 1 else 1)

Solution (Python):
num = int(input())

if num == 1:
  print(0)
else:
  print(1)

Solution (Python):
print(1-int(input()))

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
x = int(input())
print(1 - x)

Solution (Python):
x = int(input())
print(0 if x==1 else 1)

Solution (Python):
print(0) if int(input())==1 else print(1)

Solution (Python):
x = int(input())
if x:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input(""))

if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
x=int(input())
print(1-x)

Solution (Python):
x = int(input())

if(x == 0):
    print(1)
elif(x == 1):
    print(0)

Solution (Python):
print(int(input())^1)

Solution (Python):
[print(1) if(int(input())==0) else print(0)]

Solution (Python):
if(int(input())==1):
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())

print(x ^ 1)

Solution (Python):
print(1 - int(input()))

Solution (Python):
N = int(input(""))
print(1-N)

Solution (Python):

x=int(input())
if x==1:

 print(0)
else:
 print(1)

Solution (Python):
if int(input()) == 1:
  print(0)
else:
  print(1)

Solution (Python):
print(1) if int(input()) == 0 else print(0)

Solution (Python):
print(1-int(input()))

Solution (Python):
a=int(input())
print(abs(1-a))

Solution (Python):
print(1-int(input()))

Solution (Python):
a = input()
if a == '1':
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())

if x==0:
    print(1)
else:
    print(0)

Solution (Python):
print(1 - int(input()))

Solution (Python):
print(int(not(int(input()))))

Solution (Python):
s=int(input())

if 0 == s:
    print(1)
else:
    print(0)

Solution (Python):
num = int(input())
print(0 if num == 1 else 1)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x = int(input())
if x==0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
if not(x):
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
if x == 0:
  x = 1
else:
  x = 0
print(x)

Solution (Python):
x = int(input())
if x == 0:
  print("1")
else:
  print("0")

Solution (Python):
if input() == '1':
  print(0)
else:
  print(1)

Solution (Python):
n = int(input())
if n==1: print(0)
else: print(1)

Solution (Python):
x=int(input())
if x==0:
    print(1)
else:
    print(0)

Solution (Python):
print(1-int(input()))

Solution (Python):
print(1-int(input()))

Solution (Python):
x = input()

if x == "1":
	print("0")
else:
	print("1")

Solution (Python):
num = int(input())

print(1 if num == 0 else 0)

Solution (Python):
n = int(input())

x = 1 - n

print(x)

Solution (Python):
print([1,0][int(input())])

Solution (Python):
print(int(not(int(input()))))

Solution (Python):
x=int(input())

if x==1:
  print(0)
  
else:
  print(1)

Solution (Python):
N = int(input())
print(0) if N == 1 else print(1)

Solution (Python):
x=int(input())
ans=1
if x==1:
    ans=0
print(ans)

Solution (Python):
x = int(input())
if x == 1:
  print("0")
elif x == 0:
  print("1")

Solution (Python):
import os,sys
n=int(input())
if(n==0):
    print("1")
else:
    print("0")

Solution (Python):
a = int(input())
if a == 1:
    print(0)
else:
    print(1)

Solution (Python):
import sys,os,platform
if __debug__ and platform.platform()=='Darwin-18.7.0-x86_64-i386-64bit' and os.name=='posix':
    sys.stdin = open('INP01.txt', 'r')  

    
    sys.stdout = open('out.txt', 'w') 
x=int(input()) 
print(1-x)

Solution (Python):
import sys


x = int(input())

if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
a=int(input())
if a==1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
x=int(input())

if x==0:
    print("1")
if x==1:
    print("0")

Solution (Python):
x = int(input())
if x==1:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())

if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
d = input()
d = int(d)
if d==0:
  print('1')
if d==1:
  print('0')

Solution (Python):
x=int(input())
print(1-x)

Solution (Python):
x  = int(input())

x += 1
x %= 2
print(x)

Solution (Python):
x = int(input())

if x==0:
    print(1)
else:
    print(0)

Solution (Python):
print(1 if int(input()) == 0 else 0)

Solution (Python):
n = int(input())
if n == 0:
    print(1)
if n == 1:
    print(0)

Solution (Python):

x=int(input())
if x ==0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())

print(abs(x-1))

Solution (Python):
n = int(input())

if n ==1:
  print(0)
elif n == 0:
  print(1)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
import sys
x = int(sys.stdin.read().strip())
print(int(not x))

Solution (Python):
print((int(input())+1)%2)

Solution (Python):
x = int(input())

if x==0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
if x==1:
    print(0)
else:
    print(1)

Solution (Python):
x =  int(input())
print([1,0][x])

Solution (Python):
a = int(input())
print(1-a)

Solution (Python):
x = int(input())
print((x+1)%2)

Solution (Python):

print(int(input()) ^ 1)

Solution (Python):
print(1-int(input()))

Solution (Python):
x=int(input())
if 0<=x<=1:
    if x==1:
        print("0")
    else:
        print("1")

Solution (Python):
t=int(input())
if t==0:
  print("1")
elif t==1:
  print("0")

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
a=int(input())

if a==1:

  

  print("0")

if a==0:

  print("1")

Solution (Python):
print(int(input())^1)

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
x=int(input())
if x==1:
  print(0)
else:
  print(1)

Solution (Python):
print(abs(int(input()) - 1))

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x= int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
import sys

def input():
    return sys.stdin.readline()[:-1]


x = int(input())

if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
if x == 1:
    print('0')

else:
    print('1')

Solution (Python):
num = input()

if(num == "0"):
  print("1")
elif(num == "1"):
  print("0")

Solution (Python):
s =int(input())
if s==1:
    print(0)
else:
    print(1)

Solution (Python):
n = int(input())
if n == 0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())
print(x^1)

Solution (Python):
x = input()

if x == "0":
  print(1)
elif x == "1":
  print(0)

Solution (Python):
x = int(input())
if x:
    print(0)
else:
    print(1)

Solution (Python):
x=int(input())
if x==1:
  print(0)
elif x==0:
  print(1)

Solution (Python):
x=int(input())
if x==0:
    print("1")
else:
    print("0")

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
import sys

def dump(x):
    print(x, file=sys.stderr)


n = int(input())
print(1-n)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
print(abs(int(input())-1))

Solution (Python):
x = int(input())
print(0 if x else 1)

Solution (Python):
print(1 if input() == '0' else 0)

Solution (Python):
print(int(input()) ^ 1)

Solution (Python):
def main():
    x = int(input())
    if x == 0:
        print(1)
    else:
        print(0)
    
if __name__ == '__main__':
    main()

Solution (Python):
n = int(input())

if(n == 0):
    print(1)
elif(n == 1):
    print(0)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
n=int(input())
if (n==1):
    print("0")
else:
    print("1")

Solution (Python):
print(int(input())^1)

Solution (Python):
x=int(input())
if x==1:
    print(0)
else: print(1)

Solution (Python):
n=int(input())
if(n==1):
  print(0)
else:
  print(1)

Solution (Python):
print input()^1

Solution (Python):
x=int(input())
print((x+1)%2)

Solution (Python):
n=int(input())
if(n==1):
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
elif x == 1:
    print(0)

Solution (Python):
print(abs(int(input())-1))

Solution (Python):
print(1-int(input()))

Solution (Python):
print('0' if input() == '1' else '1')

Solution (Python):
num= input()

if num=="0":
  	print("1")
else:
  	print("0")

Solution (Python):
n=int(input())
if n==0:
  print(1)
else:
  print(0)

Solution (Python):
def main():
    x = int(input())

    if x == 1:
        print(0)
    else:
        print(1)
    
if __name__ == "__main__":
    main()

Solution (Python):
x = int(input())
print(1) if x == 0 else print(0)

Solution (Python):
n = int(input())
print(1) if n == 0 else print(0)

Solution (Python):
x = int(input())

print(int(not x))

Solution (Python):
print(1 if int(input()) == 0 else 0)

Solution (Python):
s = int(input())

if s != 0:
  print("0");
else:
  print("1");

Solution (Python):
X=int(input())
if X==0:
  print(1)
if X==1:
  print(0)

Solution (Python):

from sys import stdin
input = stdin.readline


def main():
    n = int(input().strip())
    print('1' if n == 0 else '0')

if __name__ == "__main__":
    main()

Solution (Python):
a=int(input())
if a==0:
  print(1)
else:
  print(0)

Solution (Python):
print(1-int(input()))

Solution (Python):
x = int(input())

if x == 0:
  print(1)
else:
  print(0)

Solution (Python):

















import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
import numpy as np
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

x = INT()
if x == 1:
  print(0)
else:
  print(1)

Solution (Python):
input = int(input())
if input == 0: print (1)
else: print (0)

Solution (Python):
n = int(input())
print(n^1)

Solution (Python):
a = int(input())

if a == 0:
    print("1")
else:
    print("0")

Solution (Python):
print(int(input())^1)

Solution (Python):
x=int(input())
if x ==0 :
  print(1)
else:
  print(0)

Solution (Python):
def main():
    x = int(input())
    if x:
        print(0)
    else:
        print(1)

if __name__ == "__main__":
    main()

Solution (Python):
x = int(input())
if x == 0:
 print('1')
elif x == 1:
 print('0')

Solution (Python):
x = int(input())
if x == 1 :
  print(0)
else :
  print(1)

Solution (Python):
print(1-int(input()))

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
x = int(input())
print(1 if x==0 else 0)

Solution (Python):
x=input()
if x=='0':
    print('1')
if x=='1':
    print('0')

Solution (Python):
print((int(input())+1)%2)

Solution (Python):
ans =lambda x: 0 if x == 1 else 1
print(ans(int(input())))

Solution (Python):
print(int(not(int(input()))))

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
x = (x + 1) % 2
print(x)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else: 
    print(0)

Solution (Python):
a=int(input())
if a==1:
  print(a-1)
else:
  print(a+1)

Solution (Python):
x=input()
x=int(x)

if x ==1:
    print(0)

elif x==0:
    print(1)

Solution (Python):
n = int(input())

if n == 1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Solution (Python):
s = input()
if s == '0':
  print(1)
else:
  print(0)

Solution (Python):
data = int(input())
if data == 1:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):

print((int(input())+1)%2)

Solution (Python):

print((int(input())+1)%2)

Solution (Python):
print((int(input())+1)%2)

Solution (Python):
x = int(input())
if(x == 0):
  print(1)
else:
  print(0)

Solution (Python):
if(input()=="1"):
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
print(1 if int(input()) == 0 else 0)

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
 
def main():
    x = int(readline())
    if x:
        print(0)
    else:
        print(1)

if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
x=int(input())

if x==0:
  print(1)
else:
  print(0)

Solution (Python):
x=int(input())
if x==0: print (1)
else:    print (0)

Solution (Python):
print(1^int(input()))

Solution (Python):
x = int(input())
if (x == 0):
	print(1)
else:
	print(0)

Solution (Python):
x = int(input())

if x == 1:
    print("0")
else:
    print("1")

Solution (Python):
x=int(input())

if x==1:
    x=0

elif x==0:
    x=1

print(x)

Solution (Python):


import sys

input = iter(sys.stdin.read().splitlines()).__next__

N = int(input())
res = 1-N
print(res)

Solution (Python):
n = str(input())
if n == "0":
  print("1")
else:
  print("0")

Solution (Python):
x = int(input())

if x:
    print(0)
else:
    print(1)

Solution (Python):
x=int(input())
if x==0:
  ans=1
elif x==1:
  ans=0
print(ans)

Solution (Python):
x = int(input())

if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
print(1 if int(input())==0 else 0)

Solution (Python):
print(0 if int(input()) else 1)

Solution (Python):
x = int(input())
print(x ^ 1)

Solution (Python):
x = int(input())
print(~x & 1)

Solution (Python):
x = int(input())
print(int(not x))

Solution (Python):
n = int(input());
if n == 1:
  print(0)
else:
  print(1)

Solution (Python):
import sys

sys.setrecursionlimit(1000000)




def main():
    n = int(input())

    if n == 1:
        print(0)
    else:
        print(1)



main()

Solution (Python):
n = int(input())
print(1^n)

Solution (Python):
print(1 if input()=='0' else 0)

Solution (Python):
n = int(input())
print(1^n)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
elif x == 1:
    print(0)

Solution (Python):
x=int(input())
if x==0: print (1)
else:    print (0)

Solution (Python):
x = int ( input() )
if x==1:
  print (0)
  
else :
  print (1)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())

if x == 0:
    print("1")
if x == 1:
    print("0")

Solution (Python):
x = int(input())
print((x + 1) % 2)

Solution (Python):
if __name__ == '__main__':
  x = int(input())
  print((x + 1) % 2)

Solution (Python):
x = input()
y=int(x)
if y==0:
  print("1")
elif y==1:
  print("0")

Solution (Python):
x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())

if x==0:
  print (1)
else :
  print (0)

Solution (Python):
x = int(input())

print(1-x)

Solution (Python):
a=int(input(''))

if a==0:
    print('1')

else:
    print('0')

Solution (Python):
import sys
sys.setrecursionlimit(1 << 25)
readline = sys.stdin.buffer.readline
read = sys.stdin.readline  
ra = range
enu = enumerate


def exit(*argv, **kwarg):
    print(*argv, **kwarg)
    sys.exit()


def mina(*argv, sub=1): return list(map(lambda x: x - sub, argv))



def a_int(): return int(readline())


def ints(): return list(map(int, readline().split()))


def read_col(H):
    '''H is number of rows
    A列、B列が与えられるようなとき
    ex1)A,B=read_col(H)    ex2) A,=read_col(H) 
    ret = []
    for _ in range(H):
        ret.append(list(map(int, readline().split())))
    return tuple(map(list, zip(*ret)))


def read_tuple(H):
    '''H is number of rows'''
    ret = []
    for _ in range(H):
        ret.append(tuple(map(int, readline().split())))
    return ret


def read_matrix(H):
    '''H is number of rows'''
    ret = []
    for _ in range(H):
        ret.append(list(map(int, readline().split())))
    return ret
    


MOD = 10**9 + 7
INF = 2**31  

from collections import defaultdict, Counter, deque
from operator import itemgetter, xor, add
from itertools import product, permutations, combinations
from bisect import bisect_left, bisect_right  
from functools import reduce
from math import gcd


def lcm(a, b):
    
    g = gcd(a, b)
    return a // g * b


print(1 - a_int())

Solution (Python):
x=int(input())
if x==1:
  print("0")
if x==0:
  print("1")

Solution (Python):
x=int(input())
if x==1:
  print("0")
if x==0:
  print("1")

Solution (Python):
a = input()
if a == '0':
  print('1')
elif a == '1':
  print('0')

Solution (Python):
a=input()
if a=='1':
  print('0')
if a=='0':
  print('1')

Solution (Python):
print(int(not(int(input()))))

Solution (Python):
a = input()
if a == "1":
  print("0")
if a == "0":
  print("1")

Solution (Python):
a = int(input())

if a == 1:
  print(0)
else:
  print(1)

Solution (Python):
a = input()
if a == '1':
  print('0')
else:
  print('1')

Solution (Python):
a = input()
if a == '1':
  print('0')
else:
  print('1')

Solution (Python):
a=input()
if a=='1':
  print('0')
else:
  print('1')

Solution (Python):
a = int(input())
print(a ^ 1)

Solution (Python):
x = int(input())
if x==0:
    print(1)
else:
    print(0)

Solution (Python):
def check_x(x: int) -> int:
    return 1 if x == 0 else 0

if __name__=='__main__':
    print(check_x(int(input())))

Solution (Python):
x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())
if(x):
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())
print(1 if x == 0 else 0)

Solution (Python):
x = input()

print(0 if x == '1'else 1)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
t=int(input())
if(t==1):
  print(0)
else:
  print(1)

Solution (Python):
import bisect, collections, copy, heapq, itertools, math, string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int, sys.stdin.readline().rstrip().split())
def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())

from collections import defaultdict
from collections import deque
import bisect
from decimal import *
def main():
    x = I()
    if x == 0:
        print(1)
    else:
        print(0)

if __name__ == "__main__":
    main()

Solution (Python):
print(1-int(input()))

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
x = int(input())
if x==0:
	print(1)
else:
	print(0)

Solution (Python):
print(0 if input() == '1' else 1)

Solution (Python):
x = int(input())
print(1 if x == 0 else 0)

Solution (Python):
a = int(input())

if a==1:
    print(0)

else:
    print(1)

Solution (Python):
n = int(input())
if n == 0:
    print(1)
if n == 1:
    print(0)

Solution (Python):
x = int(input())
if x == 0:
  print(1)
if x == 1:
  print(0)

Solution (Python):
x=input()

if int(x)==1:
  print(0)
else:
  print(1)

Solution (Python):
print('0' if input()=='1' else '1')

Solution (Python):
x = int(input())
if x==0:
  print(1)
elif x==1:
  print(0)

Solution (Python):
x=int(input())

if x==1:
  print("0")
else:
  print("1")

Solution (Python):
x = int(input())
if x==0 :
    print("1")
else :
    print("0")

Solution (Python):
x = int(input())
if(x==0):
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
print(x^1)

Solution (Python):
x=int(input())
if x!=0:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())
ans = 0
if x == 0:
    ans = 1
else :
    ans = 0
print(ans)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
x = int(input())

if x == 1 :
    print(0)
elif x == 0 :
    print(1)

Solution (Python):
n= int(input() )
print ( 1^ n )

Solution (Python):
x = int(input())

if x == 1:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())

if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
print(int(input()) ^ 1)

Solution (Python):
x = int(input())
print((x == 0) * 1 + (x == 1) * 0)

Solution (Python):
n=int(input())
print(1-n)

Solution (Python):
n = int(input())
print(n^1)

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
x = int(input())
if x == 1:
  print("0")
else:print("1")

Solution (Python):
n=int(input())
if(n==0):
  print(1)
else:
  print(0)

Solution (Python):
x=int(input())
if x==0:
  print(1)
else:
  print(0)

Solution (Python):
x=int(input())
if x==0:
    print(1)
else:
    print(0)

Solution (Python):
n = int(input())
print(0 if n == 1 else 1)

Solution (Python):
x = int(input())
if x==1:
  print(0)
else:
  print(1)

Solution (Python):


print(int(input())^1)

Solution (Python):


print(1-int(input()))

Solution (Python):


x = int(input())
print(1-x)

Solution (Python):


x = int(input())
if x:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())

if x == 0:
    print(1)
else:
    print(0)

Solution (Python):


x = int(input())

print(x^1)

Solution (Python):
print(1-int(input()))

Solution (Python):
n=int(input())
print(n^1)

Solution (Python):
x = int(input())
if x == 0:
  print("1")
elif x == 1:
  print("0")

Solution (Python):
n = int(input())
if n == 1:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
s = input()
print(1 - int(s))

Solution (Python):
x = int(input())
print(1 - x)

Solution (Python):
x = int(input())

if x == 0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x = int(input())
print(1 - x)

Solution (Python):
print('1' if int(input()) == 0 else "0")

Solution (Python):
n = int(input())
if n == 1:
  print(0)
else:
  print(1)

Solution (Python):
print((int(input())+1)%2)

Solution (Python):
print(1-int(input()))

Solution (Python):


x = int(input())

print(x^1)

Solution (Python):


x = int(input())

print(x^1)

Solution (Python):
N = int(input())
print(0 if N == 1 else 1)

Solution (Python):
x = int(input())
if x == 0:
    print(1)
if x == 1:
    print(0)

Solution (Python):
x = int(input())
if(x == 0):
	print(1)
else:
	print(0)

Solution (Python):
x = int(input())
if x == 0:
  print(1)
else:
  print(0)

Solution (Python):
a = int(input())

if a == 0:
  print(1)
else:
  print(0)

Solution (Python):
a = int(input())

if a == 0:
  print(1)
else:
  print(0)

Solution (Python):
print(1-int(input()))

Solution (Python):
x = int(input())
ans = 1 if x == 0 else 0

print(ans)

Solution (Python):
x=int(input())
print (0 if x==1 else 1)

Solution (Python):
print(1-int(input()))

Solution (Python):
x=int(input())
if x==0:
    print(1)
else:
    print(0)

Solution (Python):
x = int(input())

print(1 if x ==0 else 0)

Solution (Python):
n = int(input())

if n == 0:
    print(1)
elif n == 1:
    print(0)

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
def conj(n):
  if n==0:return 1
  return 0
print(conj(int(input())))

Solution (Python):
print([1, 0][int(input())])

Solution (Python):
x = int(input())
if x == 1:
  print('0')
else:
  print('1')

Solution (Python):
x = input()

if x == "1": print(0)
else: print(1)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x = int(input())
print(1-x)

Solution (Python):
x=int(input())
print(x^1)

Solution (Python):
num = input()
if num == '0':
  print(1)
else:
  print(0)

Solution (Python):
print(1^int(input()))

Solution (Python):
x = int(input())

print(1-x)

Solution (Python):
x=int(input())
if x==1:
  print("0")
else:
  print("1")

Solution (Python):
x = int(input())

if x == 0:
  print(1)
elif x == 1:
  print(0)

Solution (Python):
print(0 if int(input()) == 1 else 1)

Solution (Python):

print('10'[int(input())])

Solution (Python):
print(1 - int(input()))

Solution (Python):
X = int(input())
if X == 1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())
if x == 0:
  print(1)
elif x == 1:
  print(0)

Solution (Python):
x=int(input())
ans=abs(x-1)
print(ans)

Solution (Python):


import copy
import random
import bisect 
import fractions 
import math
import sys
import collections
from decimal import Decimal 

mod = 10**9+7
sys.setrecursionlimit(mod) 

d = collections.deque()
def LI(): return list(map(int, sys.stdin.readline().split()))

x = int(input())
if x:
    print("0")
else:
    print("1")

Solution (Python):
x=int(input())

if x==0:
  print(1)
elif x==1:
  print(0)

Solution (Python):
print([1,0][int(input())])

Solution (Python):
if input() == "1":
	print(0)
else:
	print(1)

Solution (Python):
print(1 if input()=="0" else 0)

Solution (Python):
x = int(input())

if x == 0:
    print(1)
elif x == 1:
    print(0)

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
x=int(input())
if x==0:
  print(1)
elif x==1:
  print(0)

Solution (Python):
x=int(input())

if(x==0):
    print(1)
elif(x==1):
    print(0)

Solution (Python):
x = int(input())

x = x ^ 1
print(x)

Solution (Python):
x = int(input())

if x == 0:
    print(1)
if x == 1:
    print(0)

Solution (Python):
if input() == '0':
  print('1')
else:
  print('0')

Solution (Python):
x = int(input())

if x == 1:
  print(0)
 
else:
  print(1)

Solution (Python):
import math
from decimal import *
import random

n = int(input())
if(n==1):
    print(0)
else:
    print(1)

Solution (Python):
if __name__ == '__main__':
    x = int(input())
    if x == 1:
        print(0)
    else:
        print(1)

Solution (Python):
x = int(input())

print(1-x)

Solution (Python):

x = int(input())

if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext

def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

def main():
    n = i_input()

    print(1-n)

if __name__ == '__main__':
    main()

Solution (Python):
x=int(input())
if x==0:
    print(1)
if x==1:
    print(0)

Solution (Python):
n = int(input())

if n == 0:
  print("1")
else:
  print("0")

Solution (Python):
x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())

print(abs(x-1))

Solution (Python):
a=int(input())

if (a):
    print(0)
else:
    print(1)

Solution (Python):
print(1) if int(input()) == 0 else print(0)

Solution (Python):
num = int(input())
if num == 0:
  print(1)
else:
  print(0)

Solution (Python):
n=int(input())
print(1-n)

Solution (Python):




















import numpy as np
import math
import copy
import string



INF = 10**18 
pi = math.pi

MOD = 1000000007








def my_pow(N, a, M):
    if(a == 0):
        return 1
    else:
        if(a % 2 == 0):
            tempo = my_pow(N, a/2, M)
            return (tempo * tempo) % M
        else:
            tempo = my_pow(N, a - 1, M)
            return (tempo * N) % M





def my_combination(N, a, M):
    res = 1

    for i in range(0, a):
        res *= N - i
        res %= M

    for i in range(0, a):
        res *= my_pow(i + 1, M - 2, M)
        res %= M

    return res





def my_combination_table(N, M, v):
    if(len(v) < N + 1):
        l = N + 1 - len(v)
        tempo = [1] * l
        v.extend(tempo)

    for i in range(1, N + 1):
        v[i] = v[i - 1] * (N - (i - 1))
        v[i] %= M

        v[i] *= my_pow(i, M - 2, M)
        v[i] %= M

    return








x = int(input())
if(x == 0):
    print(1)
else:
    print(0)

Solution (Python):
n=int(input())
if n==0:
  print(1)
else:
  print(0)

Solution (Python):
print(1-int(input()))

Solution (Python):
print(int(input()) ^ 0x01)

Solution (Python):
x = int(input())
if __name__ == "__main__":
    if x == 1:
        print(0)
    else:
        print(1)

Solution (Python):
x = input()

if x == "1":
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())

if x == 1:
  print(0)
if x == 0:
  print(1)

Solution (Python):



def main():
    import sys
    input = sys.stdin.readline

    x = int(input())

    if x == 0:
        print(1)
    else:
        print(0)


if __name__ == '__main__':
    main()

Solution (Python):
import sys
input = sys.stdin.readline


def main():
    x = int(input())
    print(1-x)


if __name__ == "__main__":
    main()

Solution (Python):
a = int(input())

if a == 0:
    print(1)
else:
    print(0)

Solution (Python):
print(int(not int(input())))

Solution (Python):

x = int(input())
if x == 1:
    print(0)
else:
    print(1)

Solution (Python):
x = int(input())

if x == 1:
  print(0)
  
elif x == 0:
  print(1)

Solution (Python):
print(1) if int(input()) == 0 else print(0)

Solution (Python):
x = int(input())

if x == 0 :
    print(1)
else :
    print(0)

Solution (Python):
a = int(input())
print(1 if a == 0 else 0)

Solution (Python):
x = int(input())
if x == 0:
  print("1")
else:
  print("0")

Solution (Python):
x = int(input())
if x:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())

print(1 if x == 0 else 0)

Solution (Python):
x = int(input())
if x == 1:
  print(0)
else:
  print(1)

Solution (Python):
x = int(input())
 
if x == 0:
  print(1)
elif x == 1:
  print(0)

Solution (Python):
x = int(input())
print(0 if x == 1 else 1)