Task: Program Execution
Input (English): 265, 141, m, 9, g, l
Output (English): 1, 2, 4, 5, 6, 9