#include using namespace std;

int main() {

int a, b, c;
cin >> a;
cin >> b;
cin >> c;

int tem = a > b ? a : b;
int max = tem > c ? tem : c;
cout << max << endl;

return 0;

}