Task: Program Execution
Input (English): G, 3549, K, x, 5979, 5859, 2939, 733, a, 1297, 4399, 413, 2893, 1421, N, c, 8159, 5363
Output (English): 1, 3, 4, 9, 15, 16