Combinatorics

24 - SQL-query.
0.075411 - time.