The Social Network Problem