a, b, c = input().split() a, b, c = int(a), int(b), int(c) if a > 0 and b > 0 and c > 0: print(1) else: print(0)
1