Task: Program Execution
Input (English): 2, 4, ['V', '6543', '7227', '4433', '5109', '6171', 'U', 'i', '4679', '6839', '3689']
Output (English): 6543, 6171, 6839