Task: Program Execution
Input (English): 4, 10, ['7585', 't', 'z', '7891', 't', 'N', 'f', 'j', 'A', '1965', 'R', 'U']
Output (English): 7891, t, N, f, j, A, 1965