gets;$><<(gets.tr(s='DCH2-9TJQK',t='B-P').split.sort*' ').tr(t,s)