Phoenix and Berries

Problem Name:
Phoenix and Berries
Site:CodeForces
Links:
Tags:
Problem setters: