18007 ÷ 5 = 3601 R2
Let's divide 18007 by 5.

Step 1:
5 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of of the result. 
Result so far: 0
Subtract 0 from 1 to get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 5

Step 2:
5 goes into 18 3 times with a remainder of 3.
Write down 3 as next digit of of the result. 
Result so far: 3
Subtract 15 from 18 to get 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 5

Step 3:
5 goes into 30 6 times with a remainder of 0.
Write down 6 as next digit of of the result. 
Result so far: 36
Subtract 30 from 30 to get 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 5

Step 4:
5 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of of the result. 
Result so far: 360
Subtract 0 from 0 to get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 5

Step 5:
5 goes into 7 1 times with a remainder of 2.
Write down 1 as next digit of of the result. 
Result so far: 3601
Subtract 5 from 7 to get 2.

The final result is 3601 with a remainder of 2.