Task: Program Execution
Input (English): F, g, 5489, A, R, g, u, w, g, U, M, T, 3077, b
Output (English): 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14