Task: Program Execution
Input (English): g, 9885, 3151, 8471, 3503, 7385, 3591, 227, 6063, 7541, 5401, 6111, u, K, 7749, v, n, w, 4793, 4411, s, T, 9531
Output (English): g, u, K, v, n, w, s, T