Task: Program Execution
Input (English): f, 5153, 2695, T, 2637, 6455, 2617
Output (English): 2, 3, 5, 6, 7