Task: Program Execution
Input (English): 3151, G, a, 4055, D, k, 9799
Output (English): 2, 3, 5, 6