Mixed Nuts

There are the same number of both.  Suppose that of the 20 nuts transferred to the peanuts bowl, n of them were peanuts; then 20–n of them were hazelnuts, and 20–n peanuts remained in the hazelnuts bowl.