3___suoyi @ 2021-11-25 17:19:05
a=input() m='' s=0 for i in a: if not i=='-': m+=i for j in range(9): s+=int(m[j])*(j+1) y=str(s%11) if y=='10': y='X' if m[-1]==y: print('Right') else: print(a[0:-1]+y)