Task: Program Execution
Input (English): Z, 9145, C, F
Output (English): 2