read n k echo $[n-=--n&&n-k]