#!/usr/bin/env ruby # -*- coding: utf-8 -*- print "車または飛行機を入れてくだい\n" suki = gets.chomp if suki == "車" print "安全だわー" else print "快適ですなー" end