Task: Program Execution
Input (English): 3, ['S', '5791', '3409', 'b', '189', '9979', '2289', '8059', 'X', 'b', 'l', '8555', 'X', '4729', '6623', '7235']
Output (English): S, 5791, 3409