read l r n;seq $n|sed a$n-d$l-$n/r1-$r-$n/-p|dc