39974 ÷ 77 
Let's see how many times 77 fits into 39974.

On to step 1:
77 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 77

Moving on to step 2:
39 divided by 77 is 0 with a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Grab the next digit (9) from the dividend, add it to 39, then carry on: 399 / 77

Moving on to step 3:
When dividing 399 by 77, we get 5 with a remainder of 14.
The next digit of our result is 5. 
Result so far: 5.0
The remainder is 14 after subtracting 385 from 399.
Grab the next digit (7) from the dividend, add it to 14, then carry on: 147 / 77

Going ahead to step 4:
The number 77 fits into 147 1 times, leaving a remainder of 70.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
Subtracting 77 from 147 leaves us with 70.
Grab the next digit (4) from the dividend, add it to 70, then carry on: 704 / 77

Let's proceed to step 5:
The number 77 fits into 704 9 times, leaving a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 519.0
If we subtract 693 from 704, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 6:
If we divide 110 by 77, we get 1 and a remainder of 33.
The number 1 becomes the next digit in our result. 
Result so far: 519.1
The remainder is 33 after subtracting 77 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 7:
If we divide 330 by 77, we get 4 and a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 519.14
Subtract 308 from 330 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 8:
The number 77 fits into 220 2 times, leaving a remainder of 66.
The number 2 becomes the next digit in our result. 
Result so far: 519.142
The remainder is 66 after subtracting 154 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Going ahead to step 9:
660 divided by 77 is 8 with a remainder of 44.
Use 8 as the next digit of our solution. 
Result so far: 519.1428
If we subtract 616 from 660, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 10:
When dividing 440 by 77, we get 5 with a remainder of 55.
Use 5 as the next digit of our solution. 
Result so far: 519.14285
Deduct 385 from 440 and we're left with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 11:
77 can be fit into 550 7 times, resulting in a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 519.142857
If we subtract 539 from 550, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 12:
When dividing 110 by 77, we get 1 with a remainder of 33.
Put 1 as the next digit of the answer. 
Result so far: 519.1428571
Subtract 77 from 110 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Advancing to step 13:
When dividing 330 by 77, we get 4 with a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 519.14285714
Subtracting 308 from 330 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 519.14285714, with a leftover of 2.2e-08.