Task: Program Execution
Input (English): Y, W, M, N, 8671, U, 7867, e, f, 7043, 4963, F, 6435
Output (English): 5, 7, 10, 11, 13