Combinatorics

24 - SQL-query.
0.107832 - time.