Task: Program Execution
Input (English): 451, 291, k, j
Output (English): 1, 2, 4, 5, 9