input = gets.chomp if input.include?("ai") puts input.gsub(/ai/,"AI") else puts "#{input}-AI" end