Examples

1 3 4 5 6 7 9



35 queries in 0.521 seconds.