Alright, let's work through 5864 times 6387 step by step
5864 × 6387 = 6387 × (5864)
+ 6387 × 4 that is equal 25548
+ 6387 × 60 that results in 383220
+ 6387 × 800 yielding 5109600
+ 6387 × 5000 yielding 31935000

= 37453368
