@@ -0,0 +1,970 @@
+package com.javarush.task.task07.task0701;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStreamReader;%0A%0A/* %0A%D0%9C%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%BD%D1%8B%D0%B9 %D0%BC%D0%B0%D0%BA%D1%81%D0%B8%D0%BC%D1%83%D0%BC%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        int%5B%5D array = initializeArray();%0A        int max = max(array);%0A        System.out.println(max);%0A    %7D%0A%0A    public static int%5B%5D initializeArray() throws IOException %7B%0A        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));%0A        int%5B%5D array = new int%5B20%5D;%0A        for (int i = 0; i %3C array.length; i++) %7B%0A            array%5Bi%5D = Integer.parseInt(reader.readLine());%0A        %7D%0A        reader.close();%0A        return array;%0A    %7D%0A%0A    public static int max(int%5B%5D array) %7B%0A        int maximum = array%5B0%5D;%0A        for (int i = 1; i %3C array.length; i++) %7B%0A            if (array%5Bi%5D %3E maximum) %7B%0A                maximum = array%5Bi%5D;%0A            %7D%0A        %7D%0A        return maximum;%0A    %7D%0A%7D%0A

Complete task0701