Task: Program Execution
Input (English): 5, 8, ['p', '2055', 'q', '9773', 'E', 'Z', 'K', 'a', 'r']
Output (English): EZKa