Task: Program Execution
Input (English): 3, 4, ['4017', 'K', '6321', 's', '6099', '6277', 'J', 'v', 'k', 'X', 'J', '4059', 'G', 'F', '2979', '1121', 'G', 'M', 'a', '4239', 'p']
Output (English): 6321, J, J, 2979, a