import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String[] str = bf.readLine().split(" ");
int max = 0;
for(int i=0;i<=str.length-1;i++){
int m = Integer.parseInt(str[i]);
max = max>m?max:m;
}
System.out.println(max);
}
}
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String[] str = bf.readLine().split(" ");
int max = 0;
for(int i=0;i<=str.length-1;i++){
int m = Integer.parseInt(str[i]);
max = max>m?max:m;
}
System.out.println(max);
}
}