Suppose you have ten pairs of red socks, ten pairs of blue socks, and ten pairs of green socks in your drawer. You need to go to a party soon, but the power is currently off in your room. It is completely dark, so you cannot see any colors and unfortunately the socks are identically shaped. What is the minimum number of socks you need to take from the drawer in order to guarantee that you have at least one pair of socks whose colors match?