ll@N,@A,@B;wt(sum[n,1,N@n%A>n%B](1));