I don't understand what more I need to do. It does display the max number "71".
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;
//write your code here
try {
while (true) {
int N = Integer.parseInt(reader.readLine());
if(N > maximum){
maximum = N;
}else if(N <= 0){
}
}
}
catch (NumberFormatException e) {
}
System.out.println(maximum);
}
}