Task: Program Execution
Input (English): 5247, 6149, o, 2601, 8117, 2289, A, 3339, G, Z
Output (English): 3, 7, 9, 10