input = gets.chomp if input[-2..-1].include?("ai") puts input.gsub("ai","AI") else puts "#{input}-AI" end# your code goes here