cause why it cant fit the lase request~~
package com.codegym.task.task05.task0532;
import java.io.*;
/*
Task about algorithms
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int maximum = 0;
int N=Integer.parseInt(reader.readLine());
// if (N<0){
// System.out.println("input positive number");
// N=Integer.valueOf(reader.readLine());
// }
for (int i=0;i<N;i++){
int temp=Integer.parseInt(reader.readLine());
if(temp>maximum)
maximum=temp;
}
//write your code here
System.out.println(maximum);
}
}