Task: Program Execution
Input (English): 2901, 189, D, 2601, 1729, V, R, 9839, 7567
Output (English): 1, 2, 4, 5, 8, 9