Task: Program Execution
Input (English): X, w, 8367, C, Q, 7771, A
Output (English): 5