Find closest multiple of $333$ to $1342$. We see that $4 \times 333 = 1332$ is the nearest. Now subtract $1332$ from $1342$ to get reminder $10$. Add $4$ to quotient.
Find closest multiple of $333$ to $1003$. We see that $3 \times 333 = 999$ is the nearest. Now subtract $999$ from $1003$ to get reminder $4$. Add $3$ to quotient.
Since $4$ is less than $333$, stop the division. The reminder is $4$. The topmost line $000403$ is the quotient. Remove all zeros at the start of the quotient to get the actual quotient $403$.