So Random : HackerEarth Problem Solution

So Random : HackerEarth Problem Solution