Task: Program Execution
Input (English): 3, 5, ['K', '2401', 'A', 'v', '7831', 'g', 'R', 'E', '1273', 'X', 'O', 'P', 'q', '2683', 'F', '3653', '5679', '9405', '2063']
Output (English): A, E, q, 9405