read n k echo $[~-n%~k-~k*{0..4}]' ' read