Task: Program Execution
Input (English): a, f, o
Output (English): -1