Task: Program Execution
Input (English): 5, 8, ['6913', 'H', '507', 'B', '6117', '1101', 'J', 'A', 'd', '5317', 'k', '1263', '8505', 'b', 'w', 'X', '9709', '1623']
Output (English): A, J, 1101, 6117