Both are fine. But neither is in the subjunctive mood; they're both correct, 2nd level conditional sentences.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
seagullI'm sorry for my mistake with the grammatical term.No need at all to apologize! That if can be misleading.