"as long as you entered" ("had" is the wrong tense)