class Account:
    def __init__(self):
        self.balance = 0

    def deposit(self, n):
        self.balance += n


if __name__ == '__main__':
    ## Test Cases:
    a = Account()
    a.deposit(52)
    assert a.balance == 52, f"Expected balance 52, got {a.balance=}"
    a.deposit(66)
    assert a.balance == 118, f"Expected balance 118, got {a.balance=}"
    a.withdraw(80)
    assert a.balance == 38, f"Expected balance 38, got {a.balance=}"
    a.withdraw(18)
    assert a.balance == 20, f"Expected balance 18, got {a.balance=}"
    print("test cases passed!")
