Eww, those bytes are gross Write a program or function that, when given a string, filters out as many distinct bytes as it can and returns the cleaned string. However, since your program hates them, none of these bytes can be present in your own code.

Your score will be the number of distinct bytes your program filters out from the input, with the higher the better. This is a max score of 255 (since your program has to be a minimum of one byte). The tiebreaker is the length of your code, with lower being better.

For example, if your program filters out the bytes 0123456789, it receives a score of 10, but your program itself cannot contain these bytes.

Rules


Bytes mean octets.
You also have the option to take input as a list of integers, with values ranging from 0 to 255. These correspond to the equivalent bytes.


Your output should be in the same form as your input

No reading your source code
Your code must be non-empty
Yes, I know there's going to be a Lenguage/Unary answer. But at least golf it please? ;)


Edit Rule:


You may choose to ignore a byte, for example if it is indistinguishable from the terminating byte for a string or for EOF. However, this means you can't use it in your submission, nor does it count for your score. If you choose to do so, your max score will be 254, but you don't have to handle that byte being in your input.
Japt -P, score: 255 (2 bytes)

ff




f =&gt; filter, second f =&gt; everything but 'f'

Try it online!



Japt, score: 255 (2 bytes)

From @Shaggy

oo


o =&gt; remove everything but, second o =&gt; 'o'

Try it online!