Let \[A = \lceil \log_2 2 \rceil + \lceil \log_2 3 \rceil + \dots + \lceil \log_2 1000 \rceil\]and \[B =  \lfloor \log_2 2 \rfloor + \lfloor \log_2 3 \rfloor + \dots + \lfloor \log_2 1000 \rfloor.\]Compute $A-B.$
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Let \[A = \lceil \log_2 2 \rceil + \lceil \log_2 3 \rceil + \dots + \lceil \log_2 1000 \rceil\]and \[B =  \lfloor \log_2 2 \rfloor + \lfloor \log_2 3 \rfloor + \dots + \lfloor \log_2 1000 \rfloor.\]Compute $A-B.$
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
990
Let \[A = \lceil \log_2 2 \rceil + \lceil \log_2 3 \rceil + \dots + \lceil \log_2 1000 \rceil\]and \[B =  \lfloor \log_2 2 \rfloor + \lfloor \log_2 3 \rfloor + \dots + \lfloor \log_2 1000 \rfloor.\]Compute $A-B.$
train