print $stdin.read.gsub(/([2-90]+)1/){(" -adgjmptw"[$1[0]-?0]+$1.length-1).chr}