https://www.codechef.com/START77D/problems/THREENUMBERS- question https://www.codechef.com/viewsolution/89617380- answer