Will mark brainiest if right only answer if your confident in ur answer

There were 40 total m&ms.
10 of each color, so the probability of picking a certain color would be 10/40 = 1/4 probability (0.25)
Yellow was picked 4 out of 7 = 4/7 = 0.57
Blue was picked 2 out of 7 = 2/7 = 0.29
Red was picked 1/7 = 0.14
The closest to 0.5 was blue.
The answer is blue.