for(;[a,b,c]=readline().split(' ').sort();)print(a>c-b|0)