#37014: python的try解法(不建議用)


BensonDC (python戰士)


try:1/int(input())
except:print(1)
else:print(0)