Four fair coins appear in front of you. You flip all four at once and observe the outcomes of the coins. After seeing the outcomes, you may turn any pair of coins over. You may not flip over a single coin without flipping over another. You can iterate this process as many times as you would like. Assuming optimal play, find the expected number of heads that appear.