Task: Program Execution
Input (English): 2, 5, ['5517', '1627', 'U', 'I', '2027', 'P', '3251', 'V', '6471', '8943', 'n', 'g', '6337', '8097', 'A', 'P', 'K', 'n']
Output (English): 1627, 3251, g, K