Two Out of Three

Problem Name:
Two Out of Three
Site:CodeForces
Links:
Tags:
Problem setters: