Chicken with caramelized onions