2. The figure and pseudo codes are shown below. What is the result of executing the pseudo codes? (10%)