Task: Program Execution
Input (English): 5343, K, Q, 8669, 199, O, 4893, U, M, 4297
Output (English): 23401