Task: Program Execution
Input (English): a, 327, 317
Output (English): 1, 2, 3, 7