A person playing the Pennsylvania lottery picks a 3-digit number and spends $1 to play it straight. If the random 3-digit number generated matches their number, they win $500. The expected winnings if the number 345 hits straight is $500 * (1/1000) = $0.50.