Task: Program Execution
Input (English): m, 2015, g, 2509, N, e, S, g, G, Z, B, n, 9635
Output (English): 1, 3, 5, 6, 7, 8, 9, 10, 11, 12