In a theater, there are rows of seats. 770 spectators came to the theater and sat in their seats (some seats may have been left unoccupied). After the intermission, all spectators forgot their original seats and sat down differently. What is the largest value of for which it is guaranteed that there are 4 spectators who sat in the same row both before and after the intermission?