#include <iostream>
using namespace std;

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

    // write your code here......
    int max1,max2,max;
    max1=a>b?a:b;
    max2=b>c?b:c;
    max=max1>max2?max1:max2;
    cout<<max<<endl;
    return 0;
}