Task: Program Execution
Input (English): w, a, x, X, u, G
Output (English): 23, 1, 24, 24, 21, 7