Task: Program Execution
Input (English): R, k, 8401, d, 5737, 9529, 4869, T, 8671, 5065, a, 9785, p
Output (English): R, k, d, T, a, p