I have attached the screenshot of where I need to automate so in this i need to fill the most of the field. In selector only a part of Id changes for all field i had identified and tried to change it as dynamic but nothing works.

div[Id="18:846;a"] > div > div > a[Class="select"]
this is the selector for first dropdown field here 846 will alone be changing for each entry so i tried with start with option, contains option and lot more but still nothing helped to achieve my task.
Please do help with solutions that would be possible for this selector
Thanks and Regards
Soumiya