athenahealth interview question

Two threads printing odd and even numbers.