Task: Program Execution
Input (English): 3313, 9641, g, w, 927, v, 383, 6629, Z, 3319, 9461, V, k
Output (English): 3, 4, 6, 9, 12, 13