@@ -0,0 +1,1281 @@
+package com.javarush.task.task08.task0822;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStreamReader;%0Aimport java.util.ArrayList;%0Aimport java.util.LinkedList;%0Aimport java.util.List;%0A%0A/* %0A%D0%9C%D0%B8%D0%BD%D0%B8%D0%BC%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5 %D0%B8%D0%B7 N %D1%87%D0%B8%D1%81%D0%B5%D0%BB%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        List%3CInteger%3E integerList = getIntegerList();%0A        System.out.println(getMinimum(integerList));%0A    %7D%0A%0A    public static int getMinimum(List%3CInteger%3E array) %7B%0A        // find minimum here %E2%80%94 %D0%BD%D0%B0%D0%B9%D1%82%D0%B8 %D0%BC%D0%B8%D0%BD%D0%B8%D0%BC%D1%83%D0%BC %D1%82%D1%83%D1%82%0A        int minimum = array.get(0);%0A        for (int i = 1; i %3C array.size(); i++) %7B%0A            if (array.get(i) %3C minimum) %7B%0A                minimum = array.get(i);%0A            %7D%0A        %7D%0A        return minimum;%0A    %7D%0A%0A    public static List%3CInteger%3E getIntegerList() throws IOException %7B%0A        //create and initialize a list here - %D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D1%8C %D0%B8 %D0%B7%D0%B0%D0%BF%D0%BE%D0%BB%D0%BD%D0%B8%D1%82%D1%8C %D1%81%D0%BF%D0%B8%D1%81%D0%BE%D0%BA %D1%82%D1%83%D1%82%0A        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));%0A        final int N = Integer.parseInt(reader.readLine());%0A        ArrayList%3CInteger%3E list = new ArrayList%3C%3E();%0A        for (int i = 0; i %3C N; i++) %7B%0A            list.add(Integer.parseInt(reader.readLine()));%0A        %7D%0A        reader.close();%0A        return list;%0A    %7D%0A%7D%0A

Complete task0822