Task: Program Execution
Input (English): M, U, Q, 9699, 5529, c, Z, 5859, 3493, G, B, 2371, L, N
Output (English): 4, 5, 8, 9, 12