When all the girls at Madeline's school line up in rows of eight, there are seven left over.

If instead they line up in rows of four, how many are left over?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
When all the girls at Madeline's school line up in rows of eight, there are seven left over.

If instead they line up in rows of four, how many are left over?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
3
When all the girls at Madeline's school line up in rows of eight, there are seven left over.

If instead they line up in rows of four, how many are left over?
train