Task: Program Execution
Input (English): 4591, 2325, G, Z, w
Output (English): 3, 4, 5