Diferente pentru problema/tygyn intre reviziile #5 si #4
Nu exista diferente intre titluri.
Diferente intre continut:
* $1 ≤ N < M ≤ 1.000.000$ * For $40$ points, $N ≤ 1.000$
* Note that the scoring is not the same as the one in the official onsite contest
h2. Example
