I'm not sure why the final condition errors. I have if a is less than 1 OR greater than 999 do nothing. It should work. Please tell me what I'm doing wrong. Thank you