#include <iostream>
using namespace std;
//How to find max element in C++
int main() {
int n;
cout <<"How many element yo will enter?"<<endl;
cin >> n;
int arr[n];
for(int i=0;i<n;i++){
cout << "Your "<< i+1 <<" number : ";
cin >> arr[i];
}
for(int i=0;i<n;i++){
if(arr[0]<arr[i]){
arr[0]=arr[i];
}
}
cout << "The max element is :"<<arr[0];
return 0;
}