Task: Program Execution
Input (English): 5471, 1423, 411, R, c, 1963, S, 8123, 703, X, K, 3527, 649, 237, I, 5299, 4979, q, s, r, 3301
Output (English): 4, 5, 7, 10, 11, 15, 18, 19, 20