Task: Program Execution
Input (English): F, 729, 1953, 9931, G, W, 9137, w, A, b, 2515, 3101, 901, 6985
Output (English): 2, 3, 4, 7, 11, 12, 13, 14