print((1-int(eval(input()))))
import math

print((1-math.ceil(math.sin(int(eval(input()))))))
print((1 - int(eval(input()))))

import math

print((1 - math.ceil(math.sin(int(eval(input()))))))

-print((1 - int(eval(input())))) +import math + +print((1 - math.ceil(math.sin(int(eval(input()))))))