How to fit integer output in neural network
You may check a multitarget model like this one. Basically Keras‘ functional API gives you a lot of flexibility to model multitarget problems.

You have three classes per target, so make sure you use 'categorical_crossentropy' as loss function with three terminal layers.