Task: Program Execution
Input (English): 3, 5, ['4067', 's', 'N', '5481', 'A', 'Q', '4055', 'B', 'b', '3891', '5533', '1749', 'V', '7671', '5651', 'b', '2791', '7037']
Output (English): N, B, V, 7037