Task: Program Execution
Input (English): 15, 473, w, f, r, a
Output (English): 1, 3, 4, 5, 7