Task: Program Execution
Input (English): 9741, 9397, 3279, P, m, 1209, n, H, D, j, d, c, 3171, 3315, 8671, 8507, 5363, m, 953, b, 2753
Output (English): 1, 2, 3, 6, 13, 14, 15, 16, 17, 19, 21