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

-----Sample Output-----
0

Difficulty: EASY

Solutions:
(N,) = map(int, input().split())
print(1 - N)


print(abs(1 - int(input())))


import sys
import heapq
import math
import fractions
import bisect
import itertools
from collections import Counter
from collections import deque
from operator import itemgetter

def input():
	return sys.stdin.readline().strip()

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

def lmp():
	return list(map(int, input().split()))
x = int(input())
if x == 0:
	print(1)
else:
	print(0)


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


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


i = int(input())
print(int(not i))


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


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


i = int(input())
print(i ^ 1)


print([1, 0][int(input())])


print(int(input()) ^ 1)


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


t = int(input(''))
print(1 - t)


n = int(input())
print(int(not n))


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


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


a = int(input())
print(abs(a - 1))


N = int(input())
print(int(not N))


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


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


print([1, 0][input() == '1'])


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


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


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


x = int(input())
c = {0: 1, 1: 0}
print(c[x])


N = int(input())
print(1 if not N else 0)


x = int(input())
ans = 1 + -1 * x
print(ans)


print(int(not bool(int(input()))))


print(int(bin(int(input()) ^ 1), 2))


A = int(input())
print(0 if A == 1 else 1)


x = int(input())
print(int(not x))


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


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


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


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


x = bool(int(input()))
a = not x
print(int(a))


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


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


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


s = int(input())
print(1 if s == 0 else 0)


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


num = int(input())
print(1 if num == 0 else 0)


import sys
print(int(sys.stdin.readline()) ^ 1)


x = int(input())
print(int(x == 0))


X = int(input())
print([1, 0][X])


N = int(input())
ans = abs(1 - N)
print(ans)


from sys import stdin
x = int(stdin.readline().rstrip())
if x == 1:
	print(0)
else:
	print(1)


def __starting_point():
	x = int(input())
	if x == 1:
		print(0)
	elif x == 0:
		print(1)
__starting_point()


x = int(input())
a = [1, 0]
print(a[x])


n = int(input())
print((n == 0) * 1)


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


A = int(input())
print(int(not A))


a = input()
print(int(not int(a)))


print(0 if int(open(0).read()) == 1 else 1)


res = 1 if int(input()) == 0 else 0
print(res)


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


print(+(input() < '1'))


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


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


bin = [1, 0]
print(bin[int(input())])


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


print(int(not int(input())))


print(0 if bool(int(input())) else 1)


a = int(input().strip())
print(1 - a)


k = int(input())
print(1 if k == 0 else 0)


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


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


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


a = int(input())
print(int(a != True))


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


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


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


print(int(open(0).read()) ^ 1)


X = int(input())
print(0 if X == 1 else 1)


n = int(input())
print(int(n == 0))