Task: Program Execution
Input (English): f, a, 311, 91, t, 99
Output (English): 1, 3, 9