ID = input() last_name = ID[-2:] if last_name == "ai": changed_ID = ID.replace(id, ID) else: changed_ID = ID + "-AI" print(changed_ID)