Task: Program Execution
Input (English): 7255, 9425, 9597, N, 4423, Y, U, 7877, n, 1251
Output (English): 4