Task: Program Execution
Input (English): 2, 2, ['w', '1639', '7541', 'Y', 'F', 'G', '7687', 'i', 'a', '4981', 'i', 'g']
Output (English): 1639, Y, G, i, 4981, g