Task: Program Execution
Input (English): 313, c, 315, 159, 321
Output (English): 1, 2, 3, 5, 9