class  Person:
 num = 0;
 def __init__(self, name,age):
         self.name=name
         self.age=age
         Person.num =1
 def  SayHello(self):              #Ա
     print("Hello")
 def  PrintName(self):
     print("",self.name,"䣺",self.age)
 def  PrintNum(self):
     print(Person.num)
          #
P1 = Person("ëʦ",42)
P2 = Person("ʦ",39)
P1.PrintName()
P2.PrintName()
Person.num=2	#޸
P1.PrintNum()
P2.PrintNum()
