Bryan bought cupcakes for his sister's birthday party. 15 cupcakes had sprinkles on top. The other 35 cupcakes did not have sprinkles. What percentage of the cupcakes had sprinkles?