#include <iostream>
using namespace std;
int main ()
{
int i, a, n, max;
cout << "ILE ELEMENTOW? \n";
cin >> n;
for(i = 0; i < n; i++)
{
cout << "PODAJ LICZBE:";
cin >> a;
if (i == 0)
max = a;
else
if (a > max)
max = a;
}
cout << "LICZBA NAJWIEKSZA TO: " <<max;
cout << "\n";
cout << "PROGRAM NAPISAL BARTOSZ LUCZAK";
cout << "\n";
system ("pause");
return 0
}