5 is an arbitrary number, so perhaps something, like the instructions, is saying that 5 is the desired value. If you want it to be 3, then 5 wouldn't be the number to use.
If you're using
n before having defined
n, then you've created something that is impossible to execute, so it won't.