input = "samurai" if (input[-2,2] == "ai") input[-2,2] = input[-2,2].upcase puts input else puts input + "-AI" end