Task: Program Execution
Input (English): a, 381
Output (English): 1, 3, 8