Task: Program Execution
Input (English): 2981, 4155, E
Output (English): 2