#include<stdio.h>
int main(){
    int n = 0;
    int i = 3;
    scanf("%d ",&n);
    int max = n;
    while(i){
      scanf("%d ",&n);
        max = n > max ? n : max;
        i--;
    };
    printf("%d\n",max);
}