You are given the following grammar:

S  -> NP VP
NP -> Det N | Det N PP
VP -> V NP | VP PP
PP -> P NP
Det -> 'the' | 'a'
N  -> 'dog' | 'owner' | 'leash'
V  -> 'found'
P  -> 'with'

Draw all the possible parse trees for the sentence The owner found the dog with the leash.

Updated: