#!/usr/bin/perl undef $/;$\= $:;$\=~s/-// ; $_ = ;chomp;s/\s+ //gx;map{$a=$2;{$a.=/^[<`~]/x?/\w/x &&($`eq'<'?'*':$`eq'~'?"\124": $`eq '`'?'I':0)x hex$&:/^[^TI*]/x?$"x hex $&:/./? substr ($_,0,1):0;$_=$';$_ ne $,? redo:last ;}print $a;}(split(/\|/)) __DATA__ B