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