Task: Program Execution
Input (English): m, 373, c, y, g, 413, 151, 477, t, 145, p
Output (English): 1, 3, 4, 5, 7