Task: Program Execution
Input (English): u, 301, l, g, 411
Output (English): 0, 1, 3, 4