string = input() print(string[1:] + string[0] + "ay")