if you just want to have correct solution, I recommend to delete all local variables but 'a' and use allways 'a' to compare it to 1 or 2. But if it's your intention to make funny source then give...