In a cumulative frequency distribution with values 40, 45, and 50, what is the value of p?
A) 45
B) 40
C) 50
D) 35