Task: Program Execution
Input (English): a, 33, 107, r
Output (English): 0, 1, 3, 7