Task: Program Execution
Input (English): h, T, 5039, x, 3257, 1621, r, 1827, 3431, q, 6393, 777, j, J, P, 4057, 9669, D, B, 4593
Output (English): 5039, 3257, 1621, 1827, 3431, 6393, 777, 4057, 9669, 4593