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

Starter code:

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

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

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

x=int(input())

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



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

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

X = int(input())

print(1-X)

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


print(1-int(input()))

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

x = int(input())

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

print(x)

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

print(int(input())^1)

a=input()
print(0) if a=='1' else print(1)

a = int(input())

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

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

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

x = int(input())

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

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

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

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

print(int(input())^1)

print(1-int(input()))

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

x = int(input())

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

a=int(input())

if a == 1:
    ans = 0
else:ans = 1

print(ans)


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

x = int(input())

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

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

x = int(input())

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

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


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

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

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

print("0" if input() == "1" else "1")

A = int(input())

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

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

x = int(input())

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

inp = input()
if(inp == '0'):
  print('1')
else:
  print('0')

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


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

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

print(int(input())^1)

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

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

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

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

print(int(input()) ^ 1)

x = int(input())

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

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

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

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

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

print('10'[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)

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


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


print(int(input())^1)

print(int(input())^1)

print(1-int(input()))

print(int(input())^1)

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

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

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


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

x = int(input())

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

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

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

print(1 if input()=="0" else 0)

print(1 - int(input()))

N, =map(int,input().split())
print(1^N)

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

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

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

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

x = int(input())

print(1 if x == 0 else 0)

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

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

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

x = int(input())

ans = 1 - x

print(ans)

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

print(int(input()) ^ 1)

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

print(1-int(input()))

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

x = int(input())

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


x = int(input())

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

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

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

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

x = int(input())

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


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

x = int(input())

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

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

x =int(input())

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

x_str = input()
x = int(x_str)

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

x = int(input())

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

# -*- coding: utf-8 -*-
x=int(input())
if x==0:
  print(1)
else:
  print(0)

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

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