Task: Program Execution
Input (English): n, 6721, 5719, W, W, 4463, C, 9951, F, F, r, X, 4721, 4455, 3383, 1601, 3967
Output (English): 2, 3, 6, 8, 13, 14, 15, 16, 17