Task: Program Execution
Input (English): 6629, 3499, 9057, U, O, 1955, 1207, o, 5457
Output (English): 4, 5, 8