The lists are in the stack_cas_casstring class in question/type/stack/cas/casstring.class.php. https://github.com/maths/moodle-qtype_stack/blob/master/stack/cas/casstring.class.php#L68. Find that file in your Moodle site, and edit it.
If you tell us (well, mainly Chris) what you have done, we might make the same change in the standard STACK version.