Task: Program Execution
Input (English): 6469, g, 9891, U, 4517, 5655, f, M
Output (English): 1, 3, 5, 6