Every thirty two pupils

Every thirty two pupils has/have one computer.
Which one is suitable and why?

Every (group of) 32 pupils has one computer.
Each (group of) 32 pupils has one computer,
‘group’ is 3rd person singular

The 32 pupils have one computer between them.
‘pupils’ is 3rd person plural