Task: Program Execution
Input (English): z, 4067, f, r, V, 8347, J, 4427, M
Output (English): 6