read n echo "$nd1+*2/n10P" | dc