Task: Program Execution
Input (English): V, 3809, D, 8517, 279, X, C, q, 3211, 1757, V, 4651, 2983, G, b
Output (English): 1, 3, 6, 7, 8, 11, 14, 15