Input (grade 12): Any modifications by Alice or Boris up to, but not including, a modification made by Candice.
Output (grade 12): Any modifications by David or Diana up to, but not including, a modification made by Gustav.