Don't include the last number in your loop.
Print the final value after the loop, so it's not subject to receive an *