Hello community!

I need some guidance in building this little device.

I want to be able to add, subtract, multiply and divide numbers through bangs to these object boxes; plus receive the result in a number box.

I plan to do this in real time, for example: if I start with 0, and press the bang of + 1 I would get 1 in the number box. If I then press the bang of * 5 I would get 5 in the same number box. So with any operation.

I know it may be a bit silly to ask for a solution for this, but I have some time without understanding how to do it.

I would appreciate any help.