Task: Program Execution
Input (English): 5, ['977', 'u', '7719', 'b', '3171', '5385', '8313', '6919', '6369', 'R']
Output (English): 977, u, 7719, b, 3171