First (S) = a , b Follow (S) = $
First (A) = epsilon Follow (A) = a, b
First(B) = epsilon Follow(B) = a, b
there are no common terms between first and follow
First (s) intersection Follow(S) = NULL
First (A) intersection Follow(A) = NULL
First (B) intersection Follow(B) = NULL
Therefore ANS = LL(1)