Task: Program Execution
Input (English): n, 1579, 6965, 2321, 2313, g, V, C, d, a, U
Output (English): 1, 6, 7, 8, 9, 10, 11