class Base:

    def k1(self, a):
        return a


class Derived1(Base):

    def k2(self, a, b):
        return a + b


class Derived2(Derived1):

    def k3(self, a, b):
        return a * b


k = Derived2()
print(k.k1(5))
print(k.k2(5, 6))
print(k.k3(5, 6))

9c21c7d63bb5228c5ffc1b566cbb03430ac4559a
class Base:
    <mask token>


class Derived1(Base):

    def k2(self, a, b):
        return a + b


class Derived2(Derived1):

    def k3(self, a, b):
        return a * b


<mask token>

class Base:

    def k1(self, a):
        return a


class Derived1(Base):

    def k2(self, a, b):
        return a + b


class Derived2(Derived1):

    def k3(self, a, b):
        return a * b


<mask token>

class Base:

    def k1(self, a):
        return a


class Derived1(Base):

    def k2(self, a, b):
        return a + b


class Derived2(Derived1):

    def k3(self, a, b):
        return a * b


<mask token>
print(k.k1(5))
print(k.k2(5, 6))
print(k.k3(5, 6))

class Base:

    def k1(self, a):
        return a


class Derived1(Base):

    def k2(self, a, b):
        return a + b


class Derived2(Derived1):

    def k3(self, a, b):
        return a * b


k = Derived2()
print(k.k1(5))
print(k.k2(5, 6))
print(k.k3(5, 6))
