General question on the approach to optimise numbers
For this, you can treat output provided by "person in charge" as ground truth. I assume that you have historical records of :


Numbers generated by this person 
Parameters that were fed into the model to generate numbers 


treat these 400 parameters are train_x and numbers generated by the person as train_y. 

Once you have this data in CSV, you can explore various Algo to find a model that can match train_y with minimal error. 

Since no details are available on "how" either of these outputs are produced, you need to pick a tool that enables quick experimentation. 

I will suggest Weka since this is a UI tool and does not require any coding. Once you identify an Algo, you can implement it in Python. 

Some tutorials : 

https://www.youtube.com/watch?v=6tDnNyNZDF0

https://www.youtube.com/watch?v=kFKxUQDnLV8

https://www.youtube.com/watch?v=COpXNK0O8As