Task: Program Execution
Input (English): 9939, H, 3335, X, 8195, 7751, Q, 5419, Q, W, r, 3065, 9469, h, 1577, 1607, 2465, 7917, 753, B, e, 8249
Output (English): 9939, 3335, 8195, 7751, 5419, 3065, 9469, 1577, 1607, 2465, 7917, 753, 8249