Guess the coin. "Do you know this trick?" Dora asked her brother. "Put a dime in one pocket and a nickel in the other. Now multiply the number of cents in the right pocket by 3, and the number of cents in the left by 2; add the results and tell me if the sum is even or odd."
Her brother answered that the result was even, and she immediately said that the dime was in the right pocket and the nickel was in the left. This repeated several times. No matter which pocket her brother put the coins in, Dora always guessed correctly.
How did she manage to do this?