S->aAbB/bAaB/∈ First(S)={a,b,∈}

Follow(S)={$,Follow(A),Follow(B)}

={$,a,b}

A->S First(A)=First(S)={a,b,∈} Follow(A)={a,b}

B->S First(B)=First(S)={a,b,∈} Follow(B)={Follow(S)}={$,a,b}

a | b | $ | |

S | S->aAbB, S->∈ | S->bAaB, S->∈ | S->∈ |

A | A->S | A->S | |

B | B->S | B->S | B->S |

Ans: 2 mutiple entries