class S:
def a(self):
fp = open(r'C:\Users\老头\Desktop\a.txt')
a = fp.read()
fp.close()
fp= open(r'C:\Users\老头\Desktop\b.txt')
b = fp.read()
fp.close()
s=int(a)+int(b)
l=list(a+b)
l.sort()
fp = open('C:/Users/老头/Desktop/test3.txt','w',encoding="utf8")
m=''
m=m.join(l)
fp.write(m)
fp.close()
fp=open(r'C:\Users\老头\Desktop\test3.txt')
jieguo=fp.read()
return jieguo,type(l)
if __name__=='__main__':
s= S
print(s().a())