grep { $_ = sprintf("$_%d", $count{$_}++) } @DATA;