A company that produces cell phones has a cost function of C=12x^2-404x+8501, where is the cost in dollars and x is the number of cell phones produced (in thousands). How many units of cell phones (in thousands) minimizes the cost function?