Task: Program Execution
Input (English): 12, 14, ['W', '2379', 'P', 'S', '8529', 'n', 'E', '5343', 'o', '4199', 'g', '7773', '3287', '8039', 'p']
Output (English): 7773, 3287, 8039