Problem #PRU-31235

Problem

Find the last digit of the number \(1 \times 2 + 2 \times 3 + \dots + 999 \times 1000\).