Task: Program Execution
Input (English): 7815, E, I, 5195, B, 7949, q, p, a, 2243, S, 3391, 2707, 9071, R, t, 885, 817, n, 3341, E, 2899, 4649
Output (English): 7815, 5195, 7949, 2243, 3391, 2707, 9071, 885, 817, 3341, 2899, 4649