ABC2097

334 queries in 1.769 seconds.