wait for division by 3 and 5 to enter