Task: Program Execution
Input (English): M, a, Z, 4047, 4301, 7767, D, 4175, 1207, m, 3281, w, s, 5227, z
Output (English): 4, 5, 6, 8, 9, 11, 14