Task: Program Execution
Input (English): 8, 8, ['U', '783', '9779', 'o', '2245', '9473', 'a', '5573']
Output (English): 3755