Pearl writes down seven consecutive integers, and adds them up. The sum of the integers is equal to 289 times the largest of the seven integers. What is the smallest integer that Pearl wrote down?