In January​ 2013, a​ country's first-class mail rates increased to 47 cents for the first​ ounce, and 25 cents for each additional ounce. If Sabrina spent ​$19.22 for a total of 54 stamps of these two​ denominations, how many stamps of each denomination did she​ buy?