Task: Program Execution
Input (English): w, g, 99, r
Output (English): 9