#include<iostream> using namespace std; int main() { freopen("C:\\\\tmp\\\\test.txt","r",stdin); int n,mx = 0; while(cin >> n){ if(n > mx) mx = n; } printf("%d",mx); return 0; }