Task: Program Execution
Input (English): t, 1827, t, U, p, c, 2059, 8971, u, 5053, d, r, 9781, R, 5689, 2147, 8661, 2333, 1819
Output (English): 1827, 2059, 8971, 5053, 9781, 5689, 2147, 8661, 2333, 1819