read n; echo "${n}d1+*2/n10P" | dc