Sum list of numbers

stdin:
1
3
4
1

| awk '{ sum+=$1} END {print sum}'