```Python class Expense: def __init__(self, name, cost): self.name = name self.cost = cost def get_cost(self): return self.cost # override '+' operator def __add__(self, other): return self.cost + other.cost food = Expense("food", 100) fuel = Expense("fuel", 50) print(food + fuel) # output: 150 ```