can someone help...my brain is fried
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 count = Integer.parseInt(reader.readLine());
int maximum = Integer.parseInt(reader.readLine());
if (count<=0){
return;
}
if (count >= 1) {
for (int i = 1; i < count; i++) {
int number = Integer.parseInt(reader.readLine());
if (number > maximum) {
maximum = number; } }
System.out.println(maximum); }
//write your code here
}
}