Link to the problem:
CF 1508 D
Number of points
Enter