Task: Program Execution
Input (English): 8487, 6503, 5667, 8115, K, R, l, B, 4801
Output (English): 8487, 6503, 5667, 8115, 4801