@@ -0,0 +1,1311 @@
+package com.javarush.task.task07.task0727;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStreamReader;%0Aimport java.util.ArrayList;%0A%0A/* %0A%D0%9C%D0%B5%D0%BD%D1%8F%D0%B5%D0%BC %D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%BE%D0%BD%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D1%81%D1%82%D1%8C%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        ArrayList%3CString%3E list = new ArrayList%3CString%3E();%0A        while (true) %7B%0A            String s = reader.readLine();%0A            if (s.isEmpty()) break;%0A            list.add(s);%0A        %7D%0A        reader.close();%0A%0A        ArrayList%3CString%3E resultList = new ArrayList%3C%3E();%0A        for (String s : list) %7B%0A            if (s.length() %25 2 == 0) %7B%0A                resultList.add(s + %22 %22 + s);%0A            %7D else %7B%0A                resultList.add(s + %22 %22 + s + %22 %22 +s);%0A            %7D%0A        %7D%0A%0A        for (String s : resultList) %7B%0A            System.out.println(s);%0A        %7D%0A%0A        /*%0A        ArrayList%3CString%3E listUpperCase = new ArrayList%3CString%3E();%0A        for (int i = 0; i %3C list.size(); i++) %7B%0A            String s = list.get(i);%0A            listUpperCase.add(s.toUpperCase());%0A        %7D%0A%0A        for (int i = 0; i %3C listUpperCase.size(); i++) %7B%0A            System.out.println(listUpperCase.get(i));%0A        %7D%0A        */%0A    %7D%0A%7D%0A

Complete task0727