import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
{
  public static void main (String[] args) throws java.lang.Exception
  {
    double x, y, z;
    Scanner in = new Scanner(System.in);
    x = in.nextDouble();
    y = in.nextDouble();
    z = in.nextDouble();
    double max = z;
    if ( y > max)
      {
        max = y;
      }
    if ( x > max ) 
      {
        max = x;
      }
   
    System.out.println(max);
  }
}