https://easyexamnotes.com/grammar-is-ambiguous-s-%e2%86%92-asbsbsas%e2%88%88/
Grammar is ambiguous. S → aSbS|bSaS|∈