#include using namespace std; int main() { int a[10]; for (int i = 0; i < 10; i++) cin >> a[i]; cout << *max_element(a, a + 10) << endl; return 0; }