Task: Program Execution
Input (English): E, o, 2887, D, g, q
Output (English): 1