5. In a room, there are several red, green, blue, yellow, and white socks. To ensure that 10 pairs of socks (two socks of the same color make a pair) are taken out of the room, the minimum number of socks that should be taken out is ( ).
(A) 23. (B)24. (C)25. (D) 26.
B

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.