Task: Program Execution
Input (English): 4145, 59, N, 8977, Y, 9353, I, N, W, 3015, h, n
Output (English): 25549