Task: Program Execution
Input (English): 415, r, k, 247, 341
Output (English): 1, 2, 3, 4, 5, 7