#include <stdio.h>
int main(){
    int a, b, c;
    scanf("%d %d %d , &a, &b , &c");
    int max_temp = a;
    if (b > max_temp) max_temp = b;
    if (c > max_temp) max_temp = c;
    printf("%d\n" , max_temp);
    return 0;
}