#include <iostream>
using namespace std;

int main() {
    
    int a, b, c;
    cin >> a;
    cin >> b;
    cin >> c;
    int t=a>b?a:b;
    int max=t>c?t:c;
    // write your code here......
    cout<<max<<endl;

    return 0;
}