Task: Program Execution
Input (English): w, 7057, 8955, 5641, 2457, 8607, 2979, P, A, 4327, 7407, I, g, a, P
Output (English): 2, 3, 4, 5, 6, 7, 10, 11