Nikki has 10 dollars and 8 of his dollars are dimes and the rest are pennies. How many dollars are pennies?