Sam and Sara bought the same number of pencils. Sam put ¼ of his pencils in his pencil box and Sara put ½ of her pencils in her pencil box. If sam had put 5 in his box then how many pencils did sara put in her pencil box?