Task: Program Execution
Input (English): k, 8557, X, D, q
Output (English): 1, 3, 4, 5