Implement DSelect with groups of 7, analyze recurrence

Analyze the implement dselect with groups of 7, analyze recurrence.

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Implement DSelect with groups of 7, analyze recurrence

Analyze the implement dselect with groups of 7, analyze recurrence.