Think of each row as three people and two less, five people and two less, and seven people and two less.
The least common multiple of 3, 5 and 7 is 105, 105-2 = 103.
Hope to adopt, thank you!