Ruth bought cupcakes for her sister's birthday party. 14 cupcakes had sprinkles on top. The other 21 cupcakes did not have sprinkles. What percentage of the cupcakes had sprinkles?