Task: Program Execution
Input (English): a, a, q, 7477, 1283, 7495, 5813, G, N, u, 1587, z, 6195, 4399
Output (English): 1, 2, 3, 8, 9, 10, 12