Task: Program Execution
Input (English): 4, ['d', 'p', 'v', 'q', '1015', '9841', '6643', 's', '3021', '3765', 'G']
Output (English): d, p, v, q