Now, instead of having only 9 red colored pencils, Jenny actually had 12 of them. She again has green colored pencils which, as before, total 38 minus the number of red colored pencils. The total number of times she used all the pencils is the product of the number of green and red pencils she has, just as in the previous case. Now, with this change, how many times did she use all her pencils?