Combinatorics

24 - SQL-query.
0.113420 - time.