Task: Program Execution
Input (English): 4, 6, ['9979', 'W', 'K', '7167', '7709', '7657', 'N', '4259', 'P', 'N', 'o', 'f', 'Z', 'R']
Output (English): 7167, 7709, 7657