не проходит по последнему пункту хоть и выводит на экран правельно
package com.javarush.task.task05.task0532;
import java.io.*;
/*
Задача по алгоритмам
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int firstboi = Integer.parseInt(br.readLine());;
int a = Integer.parseInt(br.readLine());
int b = Integer.parseInt(br.readLine());
int c = Integer.parseInt(br.readLine());
int d = Integer.parseInt(br.readLine());
int e = Integer.parseInt(br.readLine());
int maximum;
if (firstboi < 0)
System.out.println("no");
int max = firstboi;
if (a > max)
max = b;
if (b > max)
max = b;
if (c > max)
max = c;
if (d > max)
max = d;
if (e > max)
max = e;
maximum = max;
System.out.println(maximum);
}
}