Task: Program Execution
Input (English): 3807 5177 q u 5355 7649 3807 O p 507 p K 2845 2201 6571 D 4211 X 3863 z v 4171 7999 7851 5193 9839 2291 4501 g 709
Output (English): q, u, O, p, p, K, D, X, z, v, g, 3807, 5177, 5355, 7649, 3807, 507, 2845, 2201, 6571, 4211, 3863, 4171, 7999, 7851, 5193, 9839, 2291, 4501, 709