Task: Program Execution
Input (English): d, k, j, q, t, e, 361, h
Output (English): 1, 3, 6