#include <iostream> using namespace std; int main(){ int x,maxn=0; for(int i=1;i<=10;i++){ cin>>x; if(x>maxn) maxn=x; } cout<< maxn; return 0; }