What is the value of p in 24 = 2p?