Combinatorics

27 - SQL-query.
0.470771 - time.