Task: Program Execution
Input (English): X, 8247, f, m, 4911, l, O, C, i, i, v, 5807, b, f, p
Output (English): 8247, 4911, 5807