Task: Program Execution
Input (English): P, 3043, y, Z, 2839, 2573, 477, W, y, m, 7321, 9995, 2865, 1499, 5135, d
Output (English): 3043, 2839, 2573, 477, 7321, 9995, 2865, 1499, 5135