Task: Program Execution
Input (English): 2, 2, ['2241', 'W', 'N', 'C', 'p', '6945', '4187', '3895', 'F', 'P', '4157']
Output (English): W, C, 6945, 3895, P