I have 10 red socks and 10 blue socks in a drawer. How many socks must I take out to ensure that I have at least one matching pair? One how many to ensure I have at least a pair of red and a pair of blue?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?