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