#!/usr/bin/env ruby

map = {
  'a'   => 'ehy',
  'b'   => 'bee',
  'c'   => 'see',
  'd'   => 'dee',
  'e'   => 'eeye',
  'f'   => 'ef',
  'g'   => 'jeeh',
  'h'   => 'aitch',
  'i'   => 'eye',
  'j'   => 'jay',
  'k'   => 'kay',
  'l'   => 'el',
  'm'   => 'em',
  'n'   => 'en',
  'o'   => 'oh',
  'p'   => 'pee',
  'q'   => 'kewe',
  'r'   => 'are',
  's'   => 'ess',
  't'   => 'tee',
  'u'   => 'ewe',
  'v'   => 'vee',
  'w'   => 'double-ewe',
  'x'   => 'ex',
  'y'   => 'why',
  'z'   => 'zee',
  '0'   => 'zero',
  '1'   => 'one',
  '2'   => 'two',
  '3'   => 'three',
  '4'   => 'four',
  '5'   => 'five',
  '6'   => 'six',
  '7'   => 'seven',
  '8'   => 'eight',
  '9'   => 'nine',
  ':'   => 'colon',
  '/'   => 'slash',
  '\\'  => 'backslash',
  '.'   => 'dot',
  ','   => 'comma',
  "'"   => 'apostrophe',
  "\""  => 'double-quote',
  '('   => 'open-parentheses',
  ')'   => 'close-parentheses',
  ' '   => 'space',
  '-'   => 'dash',
  '?'   => 'question-mark',
  '`'   => 'backtick',
  '~'   => 'tilde',
  '!'   => 'exclamation-point',
  '@'   => 'at',
  '$'   => 'dollar',
  '#'   => 'pound',
  '%'   => 'percent',
  '^'   => 'caret',
  '&'   => 'amperstand',
  '*'   => 'asterisk',
  '['   => 'open-brace',
  ']'   => 'close-brace',
  '{'   => 'open-bracket',
  '}'   => 'close-bracket',
  '|'   => 'pipe',
  '<'   => 'less-than',
  '>'   => 'greater-than',
  '_'   => 'underscore',
  '='   => 'equals',
  '+'   => 'plus',
}

puts ARGF.read.strip.downcase.split(//).map { |c| 
  map[c] || c
}.join(' ')


