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



Sample input:
1


Sample output:
0

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#str型で受け取るとき
#s = input() 
#int型で受け取るとき
#s = int(input()) 
#float型　(小数)で受け取るとき
#s = float(input())

s=int(input())

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

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
  num=input()
  print(0 if num==1 else 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
seq = int(input())
a = int(10**9 + 7)
answer = (10**seq - 9**seq - 9**seq + 8**seq)%a
print(answer)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
seq = int(input())
a = 10**9 + 7
answer = (10**seq - 2*9**seq + 8**seq)%a
print(answer)

Submission status: Wrong Answer

Solution code:
num = input()

print(1 if num==0 else 0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()

if x == 0:
  x = 1

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num=int(input())
num2=[10, 9 ,8]



def multi(x):
	y=x**num
	return y


a, b, c=map(multi, num2)
print((a-2*b+c)%(int(1e9+7)))

Submission status: Wrong Answer

Solution code:
num=int(input())
num2=[10, 9 ,8]

def multi(x):
	y=x**num
	return y

a, b, c=map(multi, num2)
print((a-2*b+c)%(int(1e9+7)))

Submission status: Wrong Answer

Solution code:
num = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

x=0

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = int(input())
print(s, type(s))
if s != 0:
  print("0");
else:
  print("1");

Submission status: Wrong Answer

Solution code:
s = int(input())
if s != 0:
  print("1");
else:
  print("0");

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(input())

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()
if x == 0:
  x=1
else:
  x=0

print(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(~int(input()))

Submission status: Wrong Answer

Solution code:
a=input()
if a==1:
    a=0
else:
    a=1

print(a)

Submission status: Wrong Answer

Solution code:
n = int(input())
print(~n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input('0か１を入れてください'))
if x == 0:
    print(1)
elif x == 1:
    print(0)

Submission status: Wrong Answer

Solution code:
x = 0

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

Submission status: Wrong Answer

Solution code:
x=str(input())
if x==1:
  print("0")
elif x==0:
  print("1")

Submission status: Wrong Answer

Solution code:
x=input("xを入力してください")
if x==1:
  print("0")
elif x==0:
  print("1")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
if 0<=x:
    print(1)
elif x<=1:
    print(0)
else:
    pass

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
print(n&0)

Submission status: Wrong Answer

Solution code:
n = int(input())
print(n&1)

Submission status: Wrong Answer

Solution code:
print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import random
x = random.randint(0,1)
print(1-x)

Submission status: Wrong Answer

Solution code:
import random
x = random.randint(0,1)
if x == 1:
  print(0)
elif x == 0:
  print(1)

Submission status: Wrong Answer

Solution code:
import random
x = random.randint(0,1)
if x == 1:
  print(0)
else:
  print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
print((10**N - 9**N - 9**N + 8**N)%(10**9 + 7))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = input().split()
if X == 1:
    print(0)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
x=input()

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

Submission status: Wrong Answer

Solution code:
x = 1
if 0<x<1:
	print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int (input("Enter a value for x that is greater than or equal to 0 and less than or equal to 1: "))
if x == 0:
  print ("1")
elif x== 1:
  print ("0")
elif x>1 or x<0:
  print(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import random
 
x = random.randint(0,1)
 
if x == 1:
  x = 0
  
else:
  x = 1

Submission status: Wrong Answer

Solution code:
import random
 
x = random.randint(0,1)
 
if x == 1:
  print(0)
  
elif x == 0:
  print(1)

Submission status: Wrong Answer

Solution code:
import random

x = random.randint(0,1)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

print(1 if x == 1 else 0)

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
i = int(input())
print(~i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("O" if input()=="1" else "1")

Submission status: Wrong Answer

Solution code:
N = int(input())

print((10 ** N - 2 * 9 ** N + 8 ** N % (10 ** 9 + 7)))

Submission status: Wrong Answer

Solution code:
def func_not(x:int) -> None:
  if x == 0:
    print(1)
  elif x == 1:
    print(0)
  else:
    print('invalid input')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
for i in range(10):
    print(" " * 10000000)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def big(x):
  if x==0:
    return 1
  elif x==1:
    return 0

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

Solution code:
x = input()
if x ==1:
  y = 0
else:
  y = 1
  
print(y)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# D - Redistribution
S = int(input())
MOD = 10**9+7

# dp[i]: 3 以上の数字で i を作る組み合わせ
dp = [0]*(S+1)

if S <= 2:
    print(0)
elif S <= 5:
    print(1)
else:
    # 初期条件
    dp[3],dp[4],dp[5] = 1,1,1

    # i を作る組合わせ
    for i in range(6,S+1):
        dp[i] = dp[i-2] + dp[i-3] + dp[i-4]

    ans = (dp[S])%MOD
    print(ans)

Submission status: Wrong Answer

Solution code:
import math

def comb(n, r, mod):
    return math.factorial(n + r - 1)//(math.factorial(n - 1)*math.factorial(r))%mod

s = int(input())
mod = 10**9 + 7
ans = 1

if s < 3:
    ans = 0

for i in range(2, 700): #分割数, 1の時は1通りなので除外
    if s < 3*i:
        break
    r = s - i*3
    ans = (ans + comb(i, r, mod))%mod

print(ans)

Submission status: Wrong Answer

Solution code:
print(1&int(input()))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = bool(input())
print(int(not N))

Submission status: Wrong Answer

Solution code:
N = bool(input())
print(not N)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
data = int(input())

print(data)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(int(not bool(input())))

Submission status: Wrong Answer

Solution code:
print(int(not(bool(input()))))

Submission status: Wrong Answer

Solution code:
def main():
    n = int(input())
    mod = 10 ** 9 + 7 #素数
    
    def modpow(x, n, mod):
        res = 1
        while n:
            if n % 2:
                res *= x % mod
            x *= x % mod
            n >>= 1
        return res

    # 全パターン:10 ** n
    all_p = modpow(10, n, mod)
    # 0を含まないパタンーン:9 ** n
    not_0 = modpow(9, n, mod)
    # 9を含まないパターン:9 ** n
    not_9 = modpow(9, n, mod)
    # 0と９を含まないパターン:8 ** n
    not_0_9 = modpow(8, n, mod)
    # 条件のパターン
    ans = (all_p - not_0 - not_9 + not_0_9) % mod
    print(ans)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
VAR = input('Please enter an integer: ')
VAR = int(VAR)
# OUTPUTS
# Print 1 if input is equal to 0
if VAR == 0:
    print(1)
    exit()
#    sys.exit('1')

# Print 0 if input is equal to 1
if VAR == 1:
    print(0)
    exit()
#   sys.exit('0')

Submission status: Wrong Answer

Solution code:
var = input('Please enter an integer: ')
var = int(var)
# OUTPUTS 
# Print 1 if input is equal to 0 
if var == 0:
	exit()
#    sys.exit('1') 
    
# Print 0 if input is equal to 1
if var == 1:
	exit()
#   sys.exit('0')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from random import randint
print(randint(0,1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def not_op(x):
  x = int(input())
  if x != 0:
    x = 1
  elif x != 1:
    x = 0
  return x

Submission status: Wrong Answer

Solution code:
n = int(input())
ans = 10**n-2*9**n+8**n
print(ans%1000000007)

Submission status: Wrong Answer

Solution code:
print(int(~int(input())))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
if a==1:
  print(0)
if a==0:
  print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
if a==0:
  print(1)
if a==1:
  print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import random
print(random.randint(0,1))

Submission status: Wrong Answer

Solution code:
import random
print(random.randint(0,1))

Submission status: Wrong Answer

Solution code:
import time
print((int(time.time())%10)^int(input()))

Submission status: Wrong Answer

Solution code:
import random
print(int(random.random()*2))

Submission status: Wrong Answer

Solution code:
import random
print(int(random.random()*2))

Submission status: Wrong Answer

Solution code:
from random import randint
print(randint(0, 1))

Submission status: Wrong Answer

Solution code:
MOD=10**9+7
N=int(input())
 
all=pow(10,N,MOD)
sub9=pow(9,N,MOD)
sub8=pow(8,N,MOD)
print((all-2*sub9+sub8)%MOD)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
mod=1000000007
n=int(input())

def pow_by_iter(a, x, p):
    acc = a
    for i in range(1, x):
        acc = (acc * a) % p
    return acc

print((10**n-9**n-9**n+8**n)%mod)

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

Solution code:
N = int(input())
print(10**N -9**N -9**N +8**N)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())

a = 10**n % (10**9+7)
b = 8**n % (10**9+7)
c = 9**n % (10**9+7)

x = b + a - 2*c

print(x % (10**9+7))

Submission status: Wrong Answer

Solution code:
# 整数の入力
N = int(input())
if N >1:
    print(int((10 ** (N-2) * N * (N-1) / 2) % (10**9 + 7)))
else:
    print(0)

Submission status: Wrong Answer

Solution code:
# 整数の入力
N = int(input())
 
print(int((10 ** (N-2) * N * (N-1) / 2) % (10**9 + 7)))

Submission status: Wrong Answer

Solution code:
def power_func(a,n,p):
    bi = str(format(n,"b"))
    res = 1
    for i in range(len(bi)):
        res = (res*res) %p
        if bi[i] == "1":
            res = (res*a) %p
    return res
N = int(input())
answer = power_func(10,N,pow(10,9) + 7) + power_func(8,N,pow(10,9) + 7) - 2 * power_func(9,N,pow(10,9) + 7)
print(answer)

Submission status: Wrong Answer

Solution code:
if input()==1:
    print(0)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
if input() == 1:
    print(0)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
n = int(input())

def p(m, n):
    k = 1
    for i in range(n):
        k = (k * m) % (10**9 + 7)
    return k

x = p(10, n) - 2*p(9, n) + p(8, n)
if x < 0:
    x += 10 ** 9 + 7
elif x == 10 ** 9 + 7:
    x = 0
print(x)

Submission status: Wrong Answer

Solution code:
n = int(input())

x = 0
i = 0

k = n-2

l = [(i+1)*((9**i) * 10**(k-i)) for i in range(k+1)]
"""
while(k>=i):
  x += (i+1)*((9**i) * 10**(k-i))
  i += 1

x *= 2
"""
x = sum(l)
x *= 2
print(x%(10**9 + 7))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# 整数の入力
N = int(input())

print((10 ** (N-2) * N * (N-1) - (N * (N-1))) % (10**9 + 7))

Submission status: Wrong Answer

Solution code:
N = int(input())
count = 0
for i in range(10**N):
  l = str(i)
  count += "0" in l and "9" in l
print((count+(9**(N-2)))//(10**9+7))

Submission status: Wrong Answer

Solution code:
n = int(input())

ans = 0

for i in range(n):
    if i == 0:
        ans = 1
    else:
        ans *= 2

print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
 
m = 10**9 + 7
a = 10**N
a %= m
b = 9**N
b %= m
c = 8**N
c %= m

ans = a - 2*b + c
ans %= m
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# 整数の入力
N = int(input())
 
print( 8**(N-2) * N * (N-1) / (10**9 + 7))

Submission status: Wrong Answer

Solution code:
# 整数の入力
N = int(input())

print( 8**(N-2) * N * (N-1))

Submission status: Wrong Answer

Solution code:
x = int(input())
if (x<1 and x>0):
    if (x ==1):
        print(int(0))
    else:
        print(int(1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
MOD = 1000000007

def fpow(x, n):
    e = 1
    while n > 1:
        if n & 1: e = (e*x) % MOD
        x = (x*x) % MOD
        n >>=1
    return (x*e)%MOD

N = int(input())
print((fpow(10, N) - 2*fpow(9, N) + fpow(8, N))%MOD)

Submission status: Wrong Answer

Solution code:
x=input()
if x==1:
  print(0)
if x==0:
  print(1)

Submission status: Wrong Answer

Solution code:
a = input()
if a == 0:
  print(1)
elif a != 0:
  print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
print(~x)

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))

tmp = 0
if(len(a) != 4):
    exit()
if(a[0] > a[1]):
    tmp = a[1]
    a[1] = a[0]
    a[0] = tmp

if(a[2] > a[3]):
    tmp = a[3]
    a[3] = a[2]
    a[2] = tmp
a_len = list(range((a[0]), a[1] + 1))
b_len = list(range((a[2]), a[3] + 1))

max = -100000
print(a_len, b_len)
for str1 in a_len:
    for str2 in b_len:
        if(str1 * str2 > max):
            max = str1 * str2
print(max)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
if a == 0:
    print(1)

if a == 1:
    print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input('enter number:'))
if n == 1:
    print(0)
if n == 0:
    print(1)

Submission status: Wrong Answer

Solution code:
x=input()

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

Submission status: Wrong Answer

Solution code:
x = input()
if x == 0:
    print(1)
elif x == 1:
    print(0)
else:
    pass

Submission status: Wrong Answer

Solution code:
x = input()
if x == 0:
    print(1)
elif x == 1:
    print(1)
else:
    pass

Submission status: Wrong Answer

Solution code:
x=input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=input()

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

Submission status: Wrong Answer

Solution code:
n = input()
if n == 1:
    print(0)
if n == 0:
    print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(0 if open(0).read().split() == '1' else 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(0 if open(0).read() == '1' else 1)

Submission status: Wrong Answer

Solution code:
import math
print(math.floor(int(input())/1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
input = input()
if input is 1:
	print(0)
if input is 0:
  	print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=int(input())

if a&1:
    print(1)

else:
    print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
input = input()
if input == 1:
	print(0)
if input == 0:
  	print(1)

Submission status: Wrong Answer

Solution code:
x = 0

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = 0 or 1

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

Submission status: Wrong Answer

Solution code:
num = int(input())

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

Submission status: Wrong Answer

Solution code:
a = input()
print(a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
if 0 <= X:
    print(1)
elif X <= 1:
    print(0)

Submission status: Wrong Answer

Solution code:
# cording:utf-8

# xを入力
x = int(input())

# xが0なら
if x == 0:
    # 1を出力
    print("0")
elif x == 1:
    # 0を出力
    print("1")

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
num = input()
if num is 0:
  print(1)
if num is 1:
  print(0)

Submission status: Wrong Answer

Solution code:
x = map(int,input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=int(input())
print(not a )

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()

if x==0:
    print(1)

else:
    print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
if s==1:
  print('0')
elif s==0:
  print('1')

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = int(input())

print(num)

Submission status: Wrong Answer

Solution code:
#-*- Coding: utf-8 -*-

x = input()

if x is 0:
    y = 1
else:
    y = 0

print(y)

Submission status: Wrong Answer

Solution code:
'''
Created on 2020/09/13

@author: okazakieiichiro
'''
num = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
print(x%2)

Submission status: Wrong Answer

Solution code:
a = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

Solution code:
def resolve():
    N = input()
    if N == 0:
        print(1)
    else:
        print(0)
    
    
resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()
if x == 0:
    print(1)
if x == 1:
    print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int()
print(1 - x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8


def solve(*args: str) -> str:
    x = args[0]
    return '0' if x == '1' else '0'


if __name__ == "__main__":
    print(solve(*(open(0).read().splitlines())))

Submission status: Wrong Answer

Solution code:
def probA():
    x = int(input())

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


def main():
    probA()


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
if X == "0":
    print("1")
elif X == "1":
    print("0")

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
readline = stdin.readline
# read = stdin.read
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 readline() == "1" else 1)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
x = int(input())
print(x!=0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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