At the namesake festival, 45 Alexanders, 122 Borises, 27 Vasily, and several Gennady attended. At the beginning of the festival, all of them lined up so that no two people with the same name stood next to each other. What is the minimum number of Gennadys that could have attended the festival?