@@ -0,0 +1,875 @@
+package com.javarush.task.task07.task0721;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStreamReader;%0A%0A/* %0A%D0%9C%D0%B8%D0%BD%D0%B8%D0%BC%D0%B0%D0%BA%D1%81%D1%8B %D0%B2 %D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%B0%D1%85%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));%0A%0A        int maximum;%0A        int minimum;%0A%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%0A        maximum = array%5B0%5D;%0A        minimum = array%5B0%5D;%0A%0A        for (int i = 1; i %3C array.length; i++) %7B%0A            if (array%5Bi%5D %3E maximum) maximum = array%5Bi%5D;%0A            if (array%5Bi%5D %3C minimum) minimum = array%5Bi%5D;%0A        %7D%0A%0A        System.out.println(maximum);%0A        System.out.println(minimum);%0A    %7D%0A%7D%0A

Complete task0721