Task: Program Execution
Input (English): s, N, F, 5279, 1817, 8587, l, H, E, B, 1355
Output (English): 5279, 1817, 8587, 1355