Task: Program Execution
Input (English): 5785, 9501, m, g, 3321, K, j, 4231, l, n, 955, 5533, 1567, S, K, 7353, 9375
Output (English): 3, 4, 6, 7, 9, 10, 14, 15