sample math code
a simple way to work with a list of numbers