Task: Program Execution
Input (English): 3, 10, ['Q', '7711', '1791', '3263', '9813', '2727', '8081', '8293', 'V', 'a', 'D', '339', 'N', '6701', '275', 'T', 's', 'L', 'M', 't', 'F', '601', 'G']
Output (English): 1791, 3263, 9813, 2727, 8081, 8293, V, a