public class Sample3 {
    
    public static void main(String[] args) {
        Smartphone base = new Smartphone("ABC", 35000);
        LeasedSmartphone phone = new LeasedSmartphone(base, "ZZZ");
        System.out.println("Price = " + phone.getPrice());
        phone.print();
    }
}
