s1="avniet" s2="college" s=s1+s2 x=int(input()) y=int(input()) ans = s[x:]+s[:len(s)-y] print(ans)