Scenes From a Memory

Problem Name:
Scenes From a Memory
Site:CodeForces
Links:
Tags:
Problem setters: