Friendship problem