@@ -0,0 +1,392 @@
+package com.javarush.task.task11.task1117;%0A%0A/* %0A%D0%90%D0%BB%D1%8C%D1%82%D0%B5%D1%80%D0%BD%D0%B0%D1%82%D0%B8%D0%B2%D0%BD%D0%B0%D1%8F %D1%86%D0%B5%D0%BF%D0%BE%D1%87%D0%BA%D0%B0 %D0%BD%D0%B0%D1%81%D0%BB%D0%B5%D0%B4%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A    %7D%0A%0A    public class Carnivore extends Animal %7B%0A%0A    %7D%0A%0A    public class Cow extends Animal %7B%0A%0A    %7D%0A%0A    public class Dog extends Carnivore %7B%0A%0A    %7D%0A%0A    public class Pig extends Animal %7B%0A%0A    %7D%0A%0A    public class Animal %7B%0A%0A    %7D%0A%7D%0A

Complete task1117