Which sentence uses the past tense verb in the subjective mood

If I were there yesterday, I would have seen the accident.