Extra Credit (30 points)

Show the following grammar is ambiguous:

stmt : IF exp THEN stmt
     | matched
     ;

matched : IF exp THEN matched ELSE stmt | XX ;

Only one attempt is allowed. You have until Halloween (Oct 31 at 5pm). Email me your carefully thought out answer consisting of two parse trees. Do not discuss this amongst yourselves.