ABC2097

340 queries in 1.737 seconds.