Task: Program Execution
Input (English): a, 377, 87, f, m, 127, t
Output (English): 1, 2, 3, 7, 8