Task: Program Execution
Input (English): m, 3643, j, 4563, q, J, e, h, N, 5479, d, 9239, p, n, G, 6843
Output (English): 1, 3, 5, 6, 7, 8, 9, 11, 13, 14, 15