An Input/Output Script that attempts to average two numbers.

There is a fairly subtle reason why this script doesn't work properly.
There are two things that contribute. Fortunately, there is an easy fix as the next example shows.