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):
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 - x)

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

print(1-x)

Solution (Python):
n=int(input())
if n==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)
if x == 1:
    print(0)

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):
A = input()
if A == '1':
  print(0)
else:
  print(1)

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

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

Solution (Python):


x = int(input())


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


print(ans)

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

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

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

Solution (Python):
from __future__ import division, print_function
import bisect
import math
import heapq
import itertools
import sys
from collections import deque
from atexit import register
from collections import Counter
from functools import reduce
if sys.version_info[0] < 3:
    from io import BytesIO as stream
else:
    from io import StringIO as stream
 
 
if sys.version_info[0] < 3:
    class dict(dict):
        """dict() -> new empty dictionary"""
        def items(self):
            """D.items() -> a set-like object providing a view on D's items"""
            return dict.iteritems(self)
 
        def keys(self):
            """D.keys() -> a set-like object providing a view on D's keys"""
            return dict.iterkeys(self)
 
        def values(self):
            """D.values() -> an object providing a view on D's values"""
            return dict.itervalues(self)
 
    input = raw_input
    range = xrange
 
    filter = itertools.ifilter
    map = itertools.imap
    zip = itertools.izip
 
 
def sync_with_stdio(sync=True):
    """Set whether the standard Python streams are allowed to buffer their I/O.
 
    Args:
        sync (bool, optional): The new synchronization setting.
 
    """
    global input, flush
 
    if sync:
        flush = sys.stdout.flush
    else:
        sys.stdin = stream(sys.stdin.read())
        input = lambda: sys.stdin.readline().rstrip('\r\n')
 
        sys.stdout = stream()
        register(lambda: sys.__stdout__.write(sys.stdout.getvalue()))

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

if __name__ == '__main__':
    sync_with_stdio(False)
    main()

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

Solution (Python):
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==0):
	print(1)
elif(x==1):
	print(0)

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

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

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

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

Solution (Python):


import sys
readline = sys.stdin.readline
read = sys.stdin.read

x, = map(int,read().split())
print(1-x)

Solution (Python):


x =int(input())

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

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

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

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

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

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

if __name__ == '__main__':
    main()

Solution (Python):
S = input()


x=int(S)

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

Solution (Python):
n = int(input())
print(-1*n+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):
N = int(input())
ret = 0 if N == 1 else 1
print(ret)

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):
n = int(input())
if n == 0:
  print(1)
else:
  print(0)

Solution (Python):

import math

numList = []
result = []

user1 = int(input())

if 0 == user1:
    result = 1
else:
    result = 0
print(result)

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

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

Solution (Python):
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(map(int, input().split()))

x = ii()
print( (x-1)*(x-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):
a = int(input())

if a==1:
    b = 0
else:
    b = 1

print(b)

Solution (Python):
def p(val):
    print(val)


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

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

Solution (Python):
x=int(input())
print(1 if x==0 else 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):
x=int(input())

print((x+1)%2)

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

Solution (Python):
x = input()

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

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

print((x+1)%2)

Solution (Python):
import sys
r=sys.stdin.readline
x=int(r())
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==0:
    print(1)
elif x==1:
    print(0)
else:
    pass

Solution (Python):

print (int(input()) ^ 1)

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

Solution (Python):
a = int(input())
if(a == 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):
x = int(input())
if x == 1:
    print(0)
elif x == 0:
    print(1)

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

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

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

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

Solution (Python):


a = int(input())

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

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

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

Solution (Python):
num = int(input())
if num == 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( 1 - n)

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

Solution (Python):
if __name__ == "__main__":
    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 == 0:
    print(1)
else:
	print(0)

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

T = 1
for t in range(1,T + 1):
	x = int(input())
	print(0 if x == 1 else 1)

Solution (Python):


from sys import stdin, stdout

def main():
	x = int(stdin.readline())
	print(1-x)
	

main()

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):
x = int(input())
if x is 1:
    print("0")
else:
    print("1")

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

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((x+1)%2)

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

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

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

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((x+1)%2)

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

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

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

ans = 1 - x
print(ans)

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

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

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

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

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

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

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

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

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

if x==0:
    ans=1
else:
    ans=0

print(ans)

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):
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):
l=int(input())
if l==1:
    print(0)
else:
    print(1)

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

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):
n=int(input())
if n:
  print(0)
else:
  print(1)

Solution (Python):
import sys

input = sys.stdin.readline


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):
n=int(input())
if n == 0:
    print (1)
else :
    print (0)

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

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

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

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

Solution (Python):
x = int(input())
if x == 1:print(0)
else:print(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):
print(int(input())^1)

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

print(1 if x==0 else 0)

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

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

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

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

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

Solution (Python):
import sys
sys.setrecursionlimit(10**7)

def input(): return sys.stdin.readline()[:-1]
mod = 10**9 + 7
def readInt():return int(input())
def readIntList():return list(map(int,input().split()))
def readStringList():return list(input())
def readStringListWithSpace():return list(input().split())
def readString():return input()

x = readInt()

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

Solution (Python):
import sys
import itertools

x = int(input())

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

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

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

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())

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

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

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

Solution (Python):
x = 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)
elif(x == 0):
  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):
input =int(input())
if input == 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):
x = int(input())
if x == 0:
    print('1')
if x == 1:
    print('0')

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

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

print(int(x == 0))

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

Solution (Python):



def main():
    stdIn = int(input())
    stdOut = solve(stdIn)
    print(stdOut)

"""
方針


"""

def solve(stdIn):
    if stdIn == 0:
        return 1
    return 0

if __name__ == "__main__":
    main()

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())

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

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

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

Solution (Python):
def main():

    x = int(input())

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

main()

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

Solution (Python):
from sys import stdin

x = int(stdin.readline().rstrip())

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

Solution (Python):



import sys

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())



if x == 0:
    ans = 1
else:
    ans=0


print(ans)

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

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

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

Solution (Python):
from sys import stdin

x = int(stdin.readline())

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

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):
num = int(input())
if num == 0:
  print(1)
else:
  print(0)

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

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

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

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

Solution (Python):
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):
x=int(input())
if x == 0:
    print(1)
elif x == 1:
    print(0)

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

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

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

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

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

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

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

Solution (Python):

N=int(input())

ans=abs(1-N)

print(ans)

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

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

Solution (Python):
n=input()
if n=="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)
elif x==1:
	print(0)

Solution (Python):
import sys

x = sys.stdin.readline().strip()


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==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 == 1:
    print("0")
elif x == 0:
    print("1")

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

print((x+1)%2)

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

Solution (Python):

def input_int():
    return(int(input()))

def input_int_list():
    return(list(map(int,input().split())))

def input_int_map():
    return(map(int,input().split()))

def run():
    num = input_int()

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

run()

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())


print(1 if X==0 else 0)

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

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

Solution (Python):
from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math
import random
J=int(1e9)+7


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

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

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

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

Solution (Python):
def main():
    import sys
    def input():
        return sys.stdin.readline()[:-1]
    x=int(input())
    y=0
    if x==0:
        y=1
    print(y)
    



if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

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

Solution (Python):
i = int(input())
if i == 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):
x=int(input())
print(1 if x==0 else 0)

Solution (Python):
import sys
import re
import queue
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():
	x = i_input()
	if x == 0:
		print("1")
	else:
		print("0")

	return


if __name__ == '__main__':
	main()

Solution (Python):


x = 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(1 if n == 0 else 0)

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

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

Solution (Python):
from sys import stdin


def main():
    input = lambda: stdin.readline()[:-1]
    X = int(input())
    print(abs(X - 1))


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):
if "0" == str(input()):
    print('1')
else:
    print('0')

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

print(1-x)

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

x = int(readline().strip())

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

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

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

Solution (Python):
import sys
sys.setrecursionlimit(250000)

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

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

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())
print(1-n)

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

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):
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):
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())

print(1 if x==0 else 0)

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

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==1:
  print(0)
else:
  print(1)

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

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

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

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

print(ans)

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

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

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

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

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

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

print(1 if x==0 else 0)

Solution (Python):
import math as mt
import sys
import bisect
input=sys.stdin.readline
t=1

mod=10**9+7
for _ in range(t):
    
    n=int(input())
    
    
    
    
    print(n^1)

Solution (Python):
import sys,collections,math,random,fractions,bisect;sys.setrecursionlimit(10**7)
sr = sys.stdin.readline; P = print; P2 = lambda x: print(*x, sep="\n")
def I(i=0): t = [int(x)-i for x in sr().split()];return t
def S(): t = sr().split(); return t if len(t) > 1 else t[0]
L1,L2,L3,L4, = [],[],[],[]
 
i, = I()
if i == 0:
    print(1)
else:
    print(0)

Solution (Python):



import sys
from collections import defaultdict, deque
from heapq import heappush, heappop
import math
import bisect
input = sys.stdin.readline




x = float(input())
if x > 0:
    print(0)
else:
    print(1)

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

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

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

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

Solution (Python):

_INPUT = """\

"""
"""
K = int(input())
H, W, K = map(int, input().split())
a = list(map(int, input().split()))
xy = [list(map(int, input().split())) for i in range(N)]
p = tuple(map(int,input().split()))
"""
def main():
    x = int(input())
    if x == 0:
        print(1)
    else :
        print(0)

            
if __name__ == '__main__':
    import io
    import sys
    import math
    import itertools
    from collections import deque

    
    main()

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

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

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

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

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

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

Solution (Python):

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

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

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

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

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==1:
    print(0)
elif A==0:
    print(1)

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

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

Solution (Python):








def solve(x):
    print(int(not x))


if __name__ == '__main__':
    
    x = int(input())
    
    
    
    
    solve(x)

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())
if N == 0:
  print(1)
else:
  print(0)

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

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

Solution (Python):
import sys
sys.setrecursionlimit(10**6)


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


if __name__ == '__main__':
    main(sys.stdin.readline, print)

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):
def probA():
    x = int(input())

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


def main():
    probA()


if __name__ == '__main__':
    main()

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):


a = int(input())

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

Solution (Python):
a = int(input())
if a == 1:
    print(0)
elif a == 0:
    print(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 == 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):
n=int(input())
if n==0:
  print("1")
else:
  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):
def resolve():
    x = int(input())
    print(1 if x == 0 else 0)
resolve()

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


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

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

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

if x == 0:
    ans = 1

print(ans)

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

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

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

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