for(l=readline(o='').replace(/\./g,5).replace(/-/g,2);a=/\d+| /g(l);)o+=' gt .ejlupwsqr zv ,hafmixnybkcod'[a&31] print(o)