Task: Program Execution
Input (English): r, 4151, 6781, R, y, 5441, 5077, B, k, 9399, K, T, o, 149, 5977, l, 1973, 5193, N, a, d, 8617
Output (English): 2, 3, 6, 7, 10, 14, 15, 17, 18, 22