Task: Program Execution
Input (English): E, 4891, A
Output (English): 2