@@ -0,0 +1,779 @@
+package com.javarush.task.task16.task1623;%0A%0A/* %0A%D0%A0%D0%B5%D0%BA%D1%83%D1%80%D1%81%D0%B8%D0%B2%D0%BD%D0%BE%D0%B5 %D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D0%BD%D0%B8%D0%B5 %D0%BD%D0%B8%D1%82%D0%B5%D0%B9%0A*/%0A%0Apublic class Solution %7B%0A    static int count = 15;%0A    static volatile int countCreatedThreads = 0;%0A%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(new GenerateThread());%0A    %7D%0A%0A    public static class GenerateThread extends Thread %7B%0A        public GenerateThread() %7B%0A            super(Integer.toString(++countCreatedThreads));%0A            this.start();%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return String.format(%22%25s created%22, this.getName());%0A        %7D%0A%0A        @Override%0A        public void run() %7B%0A            if (countCreatedThreads %3C count) %7B%0A                System.out.println(new GenerateThread());%0A            %7D%0A        %7D%0A    %7D%0A%7D

Complete task1623