Task: Program Execution
Input (English): 2, 4, ['Z', '3405', 'd', 'D', 'G']
Output (English): 3405, d, D