19 computers and 23 peripheral graphics devices
I don't get this question.
The connections are not 1 to 1 since there are more peripheral devices than computers.
So some computers are connected to more than 1 device.
What is the maximum number of divices that a computer can connect to?
Can a peripheral connect to more than one computer?
Se my confusion. 
The answer could be really enormous depending on what the question really means .