Task: Program Execution
Input (English): D, 9137, 7239, 6061, k, X, 4329, Z
Output (English): D, k, X, Z