1021. Sacrament of the Sum

Problem Name:
1021. Sacrament of the Sum
Site:Timus
Links:
Tags:
Problem setters:
Leonid Volkov & Alexander Petrov