all=$*
if?[?$#?-ne?10?];then
echo?error|tee?-a?/tmp/err
exit?1
fi
sum=1
for?i?in?$all
do
if?[?$i?-le?0?];then
else
sum=`expr?$sum?\*?$i`
done
echo?$sum