There are some blondes and redheads in a room. If 5 blondes went out and 5 redheads came in, there would be just as many blondes as redheads. However, if instead 5 redheads went out and 5 blondes came in, there would be twice as many blondes as redheads. How many redheads originally were in the room?