#include<bits/stdc++.h> using namespace std; int main(){ int a,b=0; for(int i=1;i<=10;i++){ cin>>a; if(a>b){ b=a; } }cout<<b<<endl; }