how smart are flamingos