Task: Program Execution
Input (English): h, 8891, N, w, S
Output (English): 8891