mingwen=input("请输入明文:")
miwen=""
for i in mingwen:
if "0"<=i<="9" :
miwen += str((int(i)+3)%10)
else:
miwen += i
print(miwen)( )