Task: Program Execution
Input (English): w, 157, 2733, d, 4457, E, N, Q
Output (English): 7347