Task: Program Execution
Input (English): 277, 381, m, 239, v, l, 241
Output (English): 1, 2, 3, 4, 7, 8, 9