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

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

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

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

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

if x == 0:
    print(1)

if x == 1:
    print(0)

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

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

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

Solution (Python):

import sys, bisect, math, itertools, heapq, collections
from operator import itemgetter

from functools import lru_cache
import copy


input = sys.stdin.readline
INF = float('inf')
mod = 10**9 + 7
eps = 10**-7




def inp():
    '''
    一つの整数
    '''
    return int(input())


def inpl():
    '''
    一行に複数の整数
    '''
    return list(map(int, input().split()))


def str_inp():
    '''
    文字列をリストとして読み込む
    '''
    return list(input()[:-1])



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

Solution (Python):
import sys
import numpy as np
import math  
from collections import deque
from collections import defaultdict
from copy import deepcopy
from itertools import accumulate 
import bisect 
def input(): return sys.stdin.readline().rstrip()
from functools import lru_cache 
mod = 10**9 + 7
INF = 10**9 + 7

def main():
    n = int(input())
    if n == 0:
        print('1')
        return 0
    print('0')
    
    return 0

if __name__ == "__main__":
    main()

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

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

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

Solution (Python):
n=int(input())
print('01'[n!=1])

Solution (Python):
import sys
def input():
    return sys.stdin.readline()[:-1]
x=input()

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

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

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

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

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

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

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

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

Solution (Python):

import sys,math

def ii(): return int(input())
def mii(): return map(int,input().split())
def lmii(): return list(mii())


def main():
    n=ii()
    print(0 if n==1 else 1)
if __name__=="__main__":
    main()

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

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

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

if __name__ == '__main__':
    main()

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):
import sys
import math,bisect
sys.setrecursionlimit(10 ** 5)
from collections import defaultdict
from itertools import groupby,accumulate
from heapq import heapify,heappop,heappush
from collections import deque,Counter,OrderedDict
def I(): return int(sys.stdin.readline())
def neo(): return map(int, sys.stdin.readline().split())
def Neo(): return list(map(int, sys.stdin.readline().split()))
n = I()
if n == 1:
    print(0)
else:
    print(1)

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

Solution (Python):
i = input()

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

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

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

def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')







def solve():
    x = II()
    print(1-x)

if __name__ == '__main__':
    solve()

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

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

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

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

Solution (Python):
x = int(input())
print(int(x==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):
def solve():
    x = int(input())
    print(int(not x))

solve()

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

Solution (Python):
import sys
str=input()
if str in ("1"):
    print ("0")
else:
    print ("1")

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

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

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())
c={0:1,1:0}
print(c[x])

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

print(ans)

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

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

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

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

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

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

Solution (Python):
def intNot(intX):
    ret = False
    if intX == 0:
        ret = 1
    elif intX==1:
        ret = 0
    return ret

x = int(input())
print(intNot(x))

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

Solution (Python):

"""
Created on Sun Sep 13 20:38:53 2020

@author: naoki
"""

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

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

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

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

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

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

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

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

else:
    n = 0
    print(n)

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

Solution (Python):
n=int(input())
print('01'[n!=1])

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

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

Solution (Python):
if __name__ == "__main__":

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

    print(c)

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

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

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

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

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

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

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

Solution (Python):
i = input()

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

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

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

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

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

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

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

Solution (Python):
import random


def gcd(a, b):
    if a == 0:
        return b
    return gcd(b % a, a)


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









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

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

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

print(int(not bool(x)))

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

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

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

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

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

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 = 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 int(input()) == 1 else 1)

Solution (Python):

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

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

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

Solution (Python):
import sys
def LI(): return list(map(int, sys.stdin.buffer.readline().split()))
def I(): return int(sys.stdin.buffer.readline())
def LS(): return sys.stdin.buffer.readline().rstrip().decode('utf-8').split()
def S(): return sys.stdin.buffer.readline().rstrip().decode('utf-8')
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def LSR(n): return [LS() for i in range(n)]
def SRL(n): return [list(S()) for i in range(n)]
def MSRL(n): return [[int(j) for j in list(S())] for i in range(n)]
mod = 10 ** 9 + 7

x = I()

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

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

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

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

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

Solution (Python):
x = input()
if x == "1":
  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):
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):
import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    x=I()
    if x:
        print(0)
    else:
        print(1)

main()

Solution (Python):
str = input()

num = '0'

if str == "0":
  num = '1'
  
print(num)

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

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

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

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):
k = int(input())
"""
a,b = map(int, input().split())
"""
if k == 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 == 1:
  print(0)
else:
  print(1)

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):
if int(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:
  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("0" if x == 1 else "1")
    
if '__main__' == __name__:
    resolve()

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

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

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

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

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

if __name__ == '__main__':
    main()

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

input = sys.stdin.readline

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

Solution (Python):

import sys


def solve(x: int):
    print(1 - x)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    x = int(next(tokens))  
    solve(x)

if __name__ == '__main__':
    main()

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

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

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

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

if x == 0:
    n = 1

print(n)

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

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

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

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

elif x == 1:
    print(0)

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

Solution (Python):
'''
Created on 2020/09/13

@author: okazakieiichiro
'''
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):
S=int(input())
if S == 1:
    print(0)
else:
    print(1)

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

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

Solution (Python):








import math,sys

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

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

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

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

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

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

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

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

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

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

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

if y==0 :
    print(1)

else:
    print(0)

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

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

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

Solution (Python):


a = int(input())
b = 1

if a == 1:
    b = 0

print("{}".format(b))

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

Solution (Python):
print(0) if int(input()) == 1 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
import math
from collections import Counter
from collections import OrderedDict
def inputt():
    return sys.stdin.readline().strip()
def printt(n):
    sys.stdout.write(str(n)+'\n')
def listt():
    return [int(i) for i in inputt().split()]

def gcd(a,b): 
   return math.gcd(a,b) 
 
def lcm(a,b): 
    return (a*b) / gcd(a,b) 

def dfs(src, visit):
    count=1
    visit[src] = 1
    for nbr in dic[src]:
        if nbr==-1:
            continue
        if visit[nbr] == 0:
            count+=dfs(nbr, visit)   
    return count          


t=int(inputt())
if t==0:
    printt(1)
elif t==1:
    printt(0)

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

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

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

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

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

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

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

if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

Solution (Python):


x = 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):
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):
from typing import List, Any


def read_int() -> int:
    return int(input().strip())


def read_ints() -> List[int]:
    return list(map(int, input().strip().split(' ')))


def solve() -> Any:
    x = read_int()
    if x == 0:
        return 1
    return 0


if __name__ == '__main__':
    print(solve())

Solution (Python):
def get(x):
	s = '0'
	if(x == 0):
		s = '1'
	return s

x = int(input())
s = get(x)
print(s)

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

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

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

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

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

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

Solution (Python):
from sys import stdin
readline = stdin.readline
def i_input(): return int(readline().rstrip())
def i_map(): return map(int, readline().rstrip().split())
def i_list(): return list(i_map())


def main():
    print(0 if i_input() == 1 else 1)

if __name__ == "__main__":
    main()

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

import sys


def solve(x: int):

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

    elif x == 0:
        return print('1')



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    x = int(next(tokens))  
    solve(x)

if __name__ == '__main__':
    main()

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

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

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

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

Solution (Python):
a=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):
def run(x):
    '''

    '''
    print('{}'.format(0 if x==1 else 1))



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

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

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):
import math
import sys
import os

sys.setrecursionlimit(10**7)

def _S(): return sys.stdin.readline().rstrip()
def I(): return int(_S())
def LS(): return list(_S().split())
def LI(): return list(map(int,LS()))

if os.getenv("LOCAL"):
    inputFile = basename_without_ext = os.path.splitext(os.path.basename(__file__))[0]+'.txt'
    sys.stdin = open(inputFile, "r")
INF = float("inf")


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

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

if ss == 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):
x = int(input())

if x == 0:
    print(1)

else:
    print(0)

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

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

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

Solution (Python):
import sys
from io import StringIO
import unittest

def resolve():
    x, = input().split()
    if x=='0':
        print(1)
    else:
        print(0)


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """1"""
        output = """0"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """0"""
        output = """1"""
        self.assertIO(input, output)


if __name__ == "__main__":
    resolve()

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

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

Solution (Python):
from collections import Counter
from collections import deque
from sys import stdin
from bisect import *
from heapq import *
import math

g   = lambda : stdin.readline().strip()
gl  = lambda : g().split()
gil = lambda : [int(var) for var in gl()]
gfl = lambda : [float(var) for var in gl()]
gcl = lambda : list(g())
gbs = lambda : [int(var) for var in g()]
mod = int(1e9)+7
inf = float("inf")

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

Solution (Python):

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

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

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

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

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

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

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

Solution (Python):
import sys

N = int(sys.stdin.readline().strip())
print(1 if N == 0 else 0)

Solution (Python):

import sys
import numpy as np


def solve(x: int):
    if x==0:
        print(1)
    else:
        print(0)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    x = int(next(tokens))  
    solve(x)

if __name__ == '__main__':
    main()

Solution (Python):

x = int(input())

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

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

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

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