s=input().split() tmp=sorted(s) a=int(s[0]) b=int(s[1]) c=int(s[2]) if b + c > a: print("1") else: print("0")