Не компилируеться package com.javarush.task.task04.task0419; /* Максимум четырех чисел */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { //напишите тут ваш код BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(reader.readLine()); int b = Integer.parseInt(reader.readLine()); int c = Integer.parseInt(reader.readLine()); int d = Integer.parseInt(reader.readLine()); int max1, max2, max; max1=maxim(a, b); max2=maxim(c, d); max=maxim(a, c); System.out.println(max); } int maxim(int a, int b){ int max; if(a>=b) max=a; else max=b; return max; } }