@@ -0,0 +1,1519 @@
+package com.javarush.task.task07.task0726;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStreamReader;%0Aimport java.util.ArrayList;%0A%0A/* %0A%D0%9D%D0%B5 %D0%BA%D0%BE%D0%BC%D0%BF%D0%B8%D0%BB%D0%B8%D1%80%D1%83%D0%B5%D1%82%D1%81%D1%8F %D0%B7%D0%B0%D0%B4%D0%B0%D1%87%D0%B0 %D0%BF%D1%80%D0%BE %D0%BA%D0%BE%D1%82%D0%B8%D0%BA%D0%BE%D0%B2%0A*/%0A%0Apublic class Solution %7B%0A    public static ArrayList%3CCat%3E CATS = new ArrayList%3CCat%3E();%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));%0A%0A        while (true) %7B%0A            String name = reader.readLine();%0A            if (name.isEmpty()) break;%0A%0A            Cat cat = new Cat(name,%0A                    Integer.parseInt(reader.readLine()),%0A                    Integer.parseInt(reader.readLine()),%0A                    Integer.parseInt(reader.readLine()));%0A            CATS.add(cat);%0A        %7D%0A%0A        printList();%0A    %7D%0A%0A    public static void printList() %7B%0A        for (int i = 0; i %3C CATS.size(); i++) %7B%0A            System.out.println(CATS.get(i));%0A        %7D%0A    %7D%0A%0A    public static class Cat %7B%0A        private String name;%0A        private int age;%0A        private int weight;%0A        private int tailLength;%0A%0A        Cat(String name, int age, int weight, int tailLength) %7B%0A            this.name = name;%0A            this.age = age;%0A            this.weight = weight;%0A            this.tailLength = tailLength;%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return %22Cat name is %22 + name + %22, age is %22 + age + %22, weight is %22 + weight + %22, tail = %22 + tailLength;%0A        %7D%0A    %7D%0A%7D%0A%0A%0A

Complete task0726