Three Friends (1 point)

Problem Name:
Three Friends (1 point)
Site:CodeForces
Links:
Tags: