Input (grade 6): a minuet with trio or "Beethoven four-movement solo sonata": scherzo
Output (grade 4): The third movement can be a minuet or scherzo and a trio.