Task: Program Execution
Input (English): f, T, 1317, A, O, E
Output (English): 6, 20, 1317, 1, 15, 5