Three Sevens

Problem Name:
Three Sevens
Site:CodeForces
Links:
Tags:
Problem setters: