Task: Program Execution
Input (English): A, A, H, n, V, 4643, k, A, 8959, F, 2071, 7587, g
Output (English): 1, 2, 3, 4, 5, 7, 8, 10, 13