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