Three Equal parts

Problem Name:
Three Equal parts
Site:HackerEarth
Links:
Tags:
Problem setters: