Task: Program Execution
Input (English): 4, 12, ['p', 'h', 'a', 'c', 'J', 'P', '3013', '1411', '1091', 'w', 'c', '5197', 'U', 'f']
Output (English): c, J, P, 3013, 1411, 1091, w, c, 5197