Task: Program Execution
Input (English): c, w, R, k, J, 4159, 1351, O
Output (English): c, w, R, k, J, O