Jenny places 100 pennies on a table, with 30 showing heads and 70 showing tails. She randomly selects 40 pennies and flips them over. This means if a selected penny was showing heads, it will now show tails, and vice versa. What is the expected number of pennies showing heads at the end?

Let's think step by step and output the final answer within \boxed{}.
user