Task: Program Execution
Input (English): a, 491, 477, 193, b, l, c
Output (English): 1, 3, 4, 7, 9