#P401E. Olympic Games

Olympic Games

No submission language available for this problem.

Description

This problem was deleted from the contest, because it was used previously at another competition.

Samples

1 1
1 2 100

6