s = gets.chomp hash = { 'yukicoder' => "Hello World!", '3' => 6, '1 2' => "3 yukicoder", '1' => 1 } puts hash[s]