Task: Program Execution
Input (English): 7695, M, G, 9501, n, 4241, N, 8193, P, t, 5399, 4149, I, F, i, U, Y, 1175
Output (English): 1, 4, 6, 8, 11, 12, 18