Task: Program Execution
Input (English): 5, ['r', '5175', 'b', 'f', 'g', 'W', '6357', 'D', '1267', '3789', '4267', 'K']
Output (English): r, 5175, b, f, g