Magic Gems

Problem Name:
Magic Gems
Site:CodeForces
Links:
Tags:
Problem setters: