Task: Program Execution
Input (English): 8513, 5451, 6159, K, 505, 7923, G, 9671, 1571, 7343, 4423, P, J, 5689, 9635, 3369
Output (English): 8513, 5451, 6159, 505, 7923, 9671, 1571, 7343, 4423, 5689, 9635, 3369