Task: Program Execution
Input (English): 5523, D, q, 7041, i, K
Output (English): 1, 4