k-th equality

Problem Name:
k-th equality
Site:CodeForces
Links:
Tags:
Problem setters: