Task: Program Execution
Input (English): V, 5831, k, 5989, 4469, v, 7925, 2663, I, 3561, B, a, 319, U, 7985
Output (English): 5831, 5989, 4469, 7925, 2663, 3561, 319, 7985