Task: Program Execution
Input (English): a, 467, g, n, q, 67, 331, f
Output (English): 1, 3, 4, 6, 7