Use array and arithmetic operations in Bash shell script.

Published --