Task: Program Execution
Input (English): G, Z, T, 5741, i, b, k, Q, 5815, H, 4171, j, 3501, A, 8295, 1745, w, 1471, c, J, 8865, 3367, 2019
Output (English): 5741, 5815, 4171, 3501, 8295, 1745, 1471, 8865, 3367, 2019