Carpenters are installing hinges. They have 371 screws. Each hinge needs 3 screws. How many hinges can they install?