Task: Program Execution
Input (English): 6, 11, ['5115', '1795', 'G', '5565', 'n', '3039', '6289', 'S', 'Y', '3979', 'p']
Output (English): 3039, 6289, S, Y, 3979, p