#include <iostream> using namespace std; int main() { long long a,b,c,d; cin>>a>>b>>c; if (a+b>c&&b+c>a&&a+c>a)cout<<"1"; else cout<<0; return 0; }