Bear and Three Musketeers

Problem Name:
Bear and Three Musketeers
Site:CodeForces
Links:
Tags:
Problem setters: