d=input().strip()
t=''
for i in d:
if i=='2':
t+='5'
elif i=='5':
t+='2'
elif i=='9':
t+='6'
elif i=='6':
t+='9'
else:
t+=i
print(int(d)+int(t))
d=input().strip()
t=''
for i in d:
if i=='2':
t+='5'
elif i=='5':
t+='2'
elif i=='9':
t+='6'
elif i=='6':
t+='9'
else:
t+=i
print(int(d)+int(t))
Hi friends....
In this blog I'm going to give answer for daily test skillrack program, daily challenges and kick start programs and give some coding techniques.
It'll be helpful for u sure and make it usefull
Learn More →
0 Comments