s1="Nuthan"s2="Prasad"s=s1+s2x=int(input())y=int(input())print(s[:len(s)-y],s[len(s)-x:len(s)])
7 7
Nutha nPrasad
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!