Task: Program Execution
Input (English): 9583, 5017, D, 1359, 953, T, 9819, 2847, j, 4273, z, 5965
Output (English): D, T, j, z, 9583, 5017, 1359, 953, 9819, 2847, 4273, 5965