Alternating Characters Problem