#include <stdio.h>

int main()
{
    int ch = 0;
    int math = 0;
    int eng = 0;
    int max = 0;
    while (~scanf(" %d%d%d", &ch, &math, &eng))
    {
        max = ch > math ? ch : math;
        max = max > eng ? max : eng;
        printf("%d\n", max);
    }

    return 0;
}