Task: Program Execution
Input (English): H, 8341, 5821, p, J, 3429, G, 5695, H, 6815, K, t, u, 4947
Output (English): 1, 4, 5, 7, 9, 11, 12, 13