Task: Program Execution
Input (English): w, e, z, 361, a, 241
Output (English): 1, 2, 3, 4, 6