Task: Program Execution
Input (English): Y, N, A, 279, 4599, 9625, Y, 7675, v, 8881, 7431, 9493, U, 585, Y, 601, 9847, 6175, 7811, c, X, 8591
Output (English): 13