Task: Program Execution
Input (English): 3, 5, ['5773', '4707', 'Z', 'Y', 'k', 'F', '8489', '3623', '3255', 'H', 'Z', '2369', 'e']
Output (English): k, Y, Z