Let's divide 389358 by 18
We're looking to find how many times 18 goes into 389358.

On to step 1:
The number 18 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 18

Advancing to step 2:
If we divide 38 by 18, we get 2 and a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 2 after subtracting 36 from 38.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 18

Advancing to step 3:
29 divided by 18 is 1 with a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 21.0
If we take 18 away from 29, we end up with 11.
Append the next digit (3) from the dividend to 11 and continue with: 113 / 18

Step 4:
113 divided by 18 is 6 with a remainder of 5.
The number 6 becomes the next digit in our result. 
Result so far: 216.0
If we subtract 108 from 113, we get 5.
Fetch the next digit (5) from the dividend, attach it to 5 and continue: 55 / 18

Step 5:
18 goes into 55 3 times with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 2163.0
Subtracting 54 from 55 leaves us with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 18

Advancing to step 6:
If we divide 18 by 18, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 21631.0
Subtract 18 from 18 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
0 divided by 18 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 21631.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
The number 18 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 21631.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 21631.0, with a leftover of 0.0.