ABC2097

335 queries in 1.195 seconds.