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