Task: Program Execution
Input (English): z, m, d, 151, l, v, 233, v, n, 369, d, 471, i, x, 155
Output (English): 1, 2, 3, 4, 5, 6, 7, 9