Task: Program Execution
Input (English): 475, g, d, v, b, 261, l
Output (English): 1, 2, 4, 5, 6, 7