A survey was conducted among 120 students to find out their preferred mode of transportation to school. The results are as follows: 40 students prefer walking, 50 prefer taking the bus, and the remaining students prefer cycling. What is the probability that a randomly selected student prefers cycling?