Queen and Stable Relationships | CodeChef