@@ -0,0 +1,491 @@
+package com.javarush.task.task25.task2514;%0A%0A/* %0A%D0%9F%D0%B5%D1%80%D0%B2%D1%8B%D0%B9 %D0%B7%D0%B0%D0%BA%D0%BE%D0%BD %D0%A4%D0%B8%D0%BD%D1%8D%D0%B9%D0%B3%D0%BB%D0%B0: %D0%B5%D1%81%D0%BB%D0%B8 %D1%8D%D0%BA%D1%81%D0%BF%D0%B5%D1%80%D0%B8%D0%BC%D0%B5%D0%BD%D1%82 %D1%83%D0%B4%D0%B0%D0%BB%D1%81%D1%8F, %D1%87%D1%82%D0%BE-%D1%82%D0%BE %D0%B7%D0%B4%D0%B5%D1%81%D1%8C %D0%BD%D0%B5 %D1%82%D0%B0%D0%BA...%0A*/%0Apublic class Solution %7B%0A    public static class YieldRunnable implements Runnable %7B%0A        private int index;%0A%0A        public YieldRunnable(int index) %7B%0A            this.index = index;%0A        %7D%0A%0A        public void run() %7B%0A            System.out.println(%22begin-%22 + index);%0A            Thread.yield();%0A            System.out.println(%22end-%22 + index);%0A        %7D%0A    %7D%0A%7D%0A

Task --> 2514