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