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