Task: Program Execution
Input (English): 3239, V, G, C, a, d
Output (English): 2, 3, 4, 5, 6