You and your friend were taking turns rolling a die when you thought of a game: If a one is rolled by either player, you pay your friend 50 cents, but when a different number is rolled, your friend pays you 10 cents. After 30 rolls, it turned out that you were even, and neither of you won anything.
How many times was a one rolled?
(PLEASE NO LINKS I REALLY NEED HELP)