New Year and Ascent Sequence

Problem Name:
New Year and Ascent Sequence
Site:CodeForces
Links:
Tags:
Problem setters: