Task: Program Execution
Input (English): g, 7171, v, i, f, c
Output (English): 1, 3, 4, 5, 6