Alright, let's work through 4877 times 8234 step by step
4877 × 8234 = 8234 × (4877)
+ 8234 × 7 yielding 57638
+ 8234 × 70 that is equal 576380
+ 8234 × 800 resulting in 6587200
+ 8234 × 4000 yielding 32936000

= 40157218
