Give hints:
How can I solve the problem 'B' of cf educational round 45?? please,give me hints how to solve..........