while 1:a,b,c=sorted(map(int,raw_input().split()));print+(a+b>c)