interface Product {
   static final String COMPANY = "Noahs Ark";
   public int getPrice();
}

abstract class Animal {
   protected String type;
   protected String name;

   public Animal(String aType, String aName) {
       type = aType;
       name = aName;
   }

   public abstract void setType (String aType);
   public abstract void setName (String aName);
}

class Pet extends Animal implements Product {
   private int price;
   public Pet(String aType, String aName, int aPrice) {
       super(aType, aName);
       price = aPrice;
   }

   public void setType(String aType) {
       type = aType;
   }

   public void setName(String aName) {
       name = aName;
   }

   public int getPrice() {
       return price;
   }

   public void printData() {
       System.out.println("Information about this pet : ");
       System.out.println("Company: "+ COMPANY);
       System.out.println("Type: " + type);
       System.out.println("Name: " + name);
       System.out.println("Price: " + getPrice());
   }
}

class TestAnimal {
   public static void main(String[] args) {
       Pet pet = new Pet("Dog", "Scooby", 500);
       pet.printData();
   }
}

