Task: Program Execution
Input (English): a, 447, e, c, q, z, h, h, 427, 177, 21, m, a
Output (English): 1, 2, 4, 7