Array sum() method issue

In reply to dave_59:

My fault.

My intention was to add up all the numbers, but only including those which were greater than 5. The result I was looking for was 118.

edit: just saw your solution. Ill do that.
y=numbers.sum with (item>5?item:0)

thanks for the help