The post office sells 5-cent sheep stamps and 4-cent sunset stamps. Arianna bought 8 stamps and spent exactly 35 cents. How many of each type of stamp did Arianna buy?