Arpa and choosing brother free subset

Problem Name:
Arpa and choosing brother free subset
Site:HackerEarth
Links:
Tags:
Problem setters: