Nikita and stack

Problem Name:
Nikita and stack
Site:CodeForces
Links:
Tags:
Problem setters: