The Rodriguez family and the Hernandez family ate dinner together at the Safari Restaurant. They are deciding which family is going to pay the bill. They flip a coin to decide. If it lands on heads the Rodriguezs have to pay and if it lands on tails the Hernandez family pays.
The coin landed on heads 40% of the time. If it landed on heads 4 times, how many times did they flip the coin?


A. 5
B. 400
C. 4
D. 10