#include <iostream>
using namespace std;

int main() {
    
    int a, b, c;
    cin >> a;
    cin >> b;
    cin >> c;

    // 求3个中max值
    if(a <= b)
        if(b <= c) cout << c;
        else cout << b;
    else 
        if(a <= c) cout << c;
        else cout << a;

    return 0;
}