Task: Program Execution
Input (English): 31, C, K, 5093, Q, 3351, l, x
Output (English): 1, 4, 6