my%h; for (^get) ->$a { get; my ($m,$s)=get.words; %h{$_}-=$s for get.words; } %h.antipairs.sort[^10].map({ put ($_.value,-$_.key) if $_ })