Task: Program Execution
Input (English): 2, 4, ['r', 'K', 'q', 'h', '3229']
Output (English): K, q, h