Task: Program Execution
Input (English): 929, 5175, 8217, 5919, G, 1365, C, 5839, 3523, M, B, 2095, K, P, k, 1087, 5969, 837
Output (English): 929, 5175, 8217, 5919, 1365, 5839, 3523, 2095, 1087, 5969, 837