@@ -0,0 +1,856 @@
+package com.javarush.task.task07.task0717;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStreamReader;%0Aimport java.util.ArrayList;%0A%0A/* %0A%D0%A3%D0%B4%D0%B2%D0%B0%D0%B8%D0%B2%D0%B0%D0%B5%D0%BC %D1%81%D0%BB%D0%BE%D0%B2%D0%B0%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws Exception %7B%0A%0A        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));%0A        ArrayList%3CString%3E list = new ArrayList%3C%3E();%0A        for (int i = 0; i %3C 10; i++) %7B%0A            list.add(reader.readLine());%0A        %7D%0A        reader.close();%0A        %0A        ArrayList%3CString%3E result = doubleValues(list);%0A%0A        for (String s : result) %7B%0A            System.out.println(s);%0A        %7D%0A    %7D%0A%0A    public static ArrayList%3CString%3E doubleValues(ArrayList%3CString%3E list) %7B%0A%0A        for (int i = 0; i %3C list.size(); i += 2) %7B%0A            list.add(i, list.get(i));%0A        %7D%0A        return list;%0A    %7D%0A%7D%0A

Complete task0717