7 hairs on the back of onion are less than 3 hairs, and 3 hairs on onion are less than 7 hairs.
In other words, selling onions separately like that is actually selling onions for 50 cents a catty.
It's exactly half of the original unit price of 1 yuan 100 Jin, so naturally only 50 yuan is needed.