The number of pencils bought by Shilpa from a shop is p. If Devi buys four times as many pencils as Shilpa bought and 30 pencils remained in the shop after the purchase, then which expression gives the number of pencils initially present in the shop?