Determine if a simple sentence is grammatically correct.
The sentence uses the following BNF:
<sentence> ::= <verb><direct-object>[<indirect-object>]
<direct-object> ::= [<determiner>]<adjective>*<noun>
<indirect-object> ::= <preposition><direct-object>
<determiner> ::= a | an | the
<adjective> ::= red | shiny | heavy
<noun> ::= ball | wrench | gun | pliers
<preposition> ::= with | in | at
<verb> ::= get | throw | shoot