Task: Program Execution
Input (English): 361, 47, k, 33
Output (English): 1, 3, 4, 6, 7