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