Alright, let's work through 5123 times 8377 step by step
5123 × 8377 = 8377 × (5123)
+ 8377 × 3 which equals 25131
+ 8377 × 20 that is equal 167540
+ 8377 × 100 producing 837700
+ 8377 × 5000 that is equal 41885000

= 42915371
