Task: Program Execution
Input (English): 2, 5, ['7129', 'c', '927', '7841', 'G']
Output (English): G1487729c