import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(scan.hasNextInt()) {
int chinese = scan.nextInt();
int math = scan.nextInt();
int english = scan.nextInt();
System.out.println(Math.max(Math.max(chinese, math),english));
}
}
}