I think the law is as follows:
10 32 5 1, from small to large.
10 4 3, from large to small
27 8 9, big at both ends and small in the middle
The next rule should be that two ends are small and the middle is big.
29 36 * (any number less than 36)