I have ten coins totaling forty cents. Two of them are not dimes. How many pennies do I have?
Details and assumptions
Pennies are worth one cent, nickels are worth five cents, dimes are worth ten cents, and quarters are worth twenty-five cents.
These are the only type of coins that may be used.