fork download
  1.  
  2. s1="Nuthan"
  3. s2="Prasad"
  4. s=s1+s2
  5. x=int(input())
  6. y=int(input())
  7. print(s[len(s)-x:len(s)],s[:len(s)-y])
  8.  
Success #stdin #stdout 0.03s 9800KB
stdin
5
6
stdout
rasad Nuthan