Task: Program Execution
Input (English): 4163, 8947, A, 9941, 4653, 7309, 4967, 3213, j, 685, 7151, i, S, B, 5547, 6667, 9247, i
Output (English): A, j, i, S, B, i