Task: Program Execution
Input (English): 2831, q, p, 7925, W, 7605, 4915, 4661, 29, G, I, 5153, 6767, 1617, 2883, E, 9517, K, k
Output (English): 2831, 7925, 7605, 4915, 4661, 29, 5153, 6767, 1617, 2883, 9517