class Catalogue:
    def __init__(self, name):
        self.name = name
        self.products = []

    def add_product(self,product):
        return self.products.append(product)

    def get_by_letter(self, first_letter):
        return [_ for _ in self.products if _[0] == first_letter]

    def __repr__(self):
        print(f"Items in the {self.name} catalogue")
        return "\n".join(sorted([_ for _ in self.products]))


catalogue = Catalogue("Furniture")
catalogue.add_product("Sofa")
catalogue.add_product("Mirror")
catalogue.add_product("Desk")
catalogue.add_product("Chair")
catalogue.add_product("Carpet")
print(catalogue.get_by_letter("C"))
print(catalogue)
