Task: Program Execution
Input (English): 3, 6, ['3747', 'N', 'Q', '3429', '6453', 'U', '4401', '5495', 'r', '7969', 'T', 'W', 'n', '3477', '2701', 'k', 'y', 'r', 'U', 't', 't']
Output (English): Q, r, 2701, t