Task: Program Execution
Input (English): F, M, 6893, 7623, 2475, 5129, 33, N, 5163, h, V, s, n, 8475
Output (English): 3, 4, 5, 6, 7, 9, 14