Alright, let's work through 5871 times 5341 step by step
5871 × 5341 = 5341 × (5871)
+ 5341 × 1 that equals 5341
+ 5341 × 70 yielding 373870
+ 5341 × 800 which equals 4272800
+ 5341 × 5000 producing 26705000

= 31357011
