Task: Program Execution
Input (English): w, 87, T, J, L, C
Output (English): 1