Task: Program Execution
Input (English): Y, d, v, 6979, 8811, J, 8879, P, 4977, 6573, 6341, 6381, 8569, 8521, 5265, 6211, R, z, w, O
Output (English): 6979, 8811, 8879, 4977, 6573, 6341, 6381, 8569, 8521, 5265, 6211