If the number of items is 2 or 3, only 1 time is needed;
The number of items is 4-9, which needs 2 times;
The number of items is 10-27, which needs 3 times;
The number of items is 28-8 1, which needs 4 times;
The number of items is 82-243, which needs 5 times.