I'm learning about ambiguity in grammars and I need a little help to understand better. Here is a grammar:
<S> ::= if <S> then <S>
<S> ::= if <S> then <S> else <S>
<S> ::= a
Using a parse tree or left-most derivation, how can I show that this grammar is ambiguous?