In this rule

Historical Rules · 12 April 2024

Rule 704.5q

Official source text from the 12 April 2024 Rules release

If a permanent has both a +1/+1 counter and a -1/-1 counter on it, N +1/+1 and N -1/-1 counters are removed from it, where N is the smaller of the number of +1/+1 and -1/-1 counters on it.

Find this number in the current Rules