Task: Program Execution
Input (English): g, j, 239, w, q, m, a, l, n, p, i, r
Output (English): 2, 3, 9