#include<iostream.h> 
 int main()                                                  
{
 int a,max;
 cin>>a;
 max=a;
 while(a!=0)
 {
  if(max<a)
    max=a;
  cin>>a;
 }
 cout<<"×î´óÊýÊÇ£º"<<max<<endl;
 return(0);
}
