class BankAccount:
    count_condition = 0.0
    def get_cond(self):
        return self.__class__.count_condition

    def add(self, value):
        self.__class__.count_condition += value

    def __init__(self, name, number_count):
        self.name = name
        self.number_count = number_count
        self.valid_count = 328475

    def showCount(self, number_count):
        if self.number_count == self.valid_count:
            return round(self.get_cond(), 1)
        else:
            return "Wrong count number!"

    def addMoney(self, number_count, money_count):
        if self.number_count == self.valid_count:
            self.add(money_count)
        else:
            return "Error!"

    def minusMoney(self, number_count, money_count):
        if self.number_count == self.valid_count:
            self.add (-money_count)
        else:
            return "Error!"


class InterestAccount(BankAccount):
    def addInterest(self, procent):
        if self.get_cond() > 0:
            return (self.get_cond() / 100) * procent


myCount = BankAccount("One", 328475)
myCount.addMoney(328475, 45.5)
print(myCount.showCount(328475))
myCount.minusMoney(328475, 1.3)
print(myCount.showCount(328475))
myProcent = InterestAccount("One", 328475)
print(myProcent.addInterest(7))