陈锦嘉 D=input() X="AAAAABBBBB" cuo=" " d=0 if len(D)==len(X): for i in range(len(X)): if D[i]==X[i]: cuo=cuo+x[i] d=d+10 else: cuo=cuo+"x" print(cuo,d)