Task: Program Execution
Input (English): f, 1051, j, 3713, 6305, t, B, d, 5037, i
Output (English): 1051, 3713, 6305, 5037