Memory and Trident

Problem Name:
Memory and Trident
Site:CodeForces
Links:
Tags:
Problem setters: