Task: Program Execution
Input (English): D, j, 1255, J, 4595, V, 8457, 733, 7839, A, 2515, I, Q, O, S, G, V, 9727, A, a, 9573, R
Output (English): 1255, 4595, 8457, 733, 7839, 2515, 9727, 9573