class C1():
def c1_m(self):
print("c1_m")
def m(self):
print("C1 m")
class C2():
def c2_m(self):
print("c2_m")
def m(self):
print("C2 m")
class C3(C2, C1):
def m(self):
print("C3 m")
c = C3()
c.c1_m()
c.c2_m()
c.m()
print(C3.__mro__)
Y2xhc3MgQzEoKToKICAgIGRlZiBjMV9tKHNlbGYpOgogICAgICAgIHByaW50KCJjMV9tIikKICAgIGRlZiBtKHNlbGYpOgogICAgICAgIHByaW50KCJDMSBtIikKCmNsYXNzIEMyKCk6CiAgICBkZWYgYzJfbShzZWxmKToKICAgICAgICBwcmludCgiYzJfbSIpCiAgICBkZWYgbShzZWxmKToKICAgICAgICBwcmludCgiQzIgbSIpCgpjbGFzcyBDMyhDMiwgQzEpOgogICAgZGVmIG0oc2VsZik6CiAgICAgICAgcHJpbnQoIkMzIG0iKQoKYyA9IEMzKCkKYy5jMV9tKCkKYy5jMl9tKCkKYy5tKCkKcHJpbnQoQzMuX19tcm9fXyk=