🧍🏽‍♂️🧍🏽Feet to Feet, Shoulder to Shoulder🧍🏻‍♂️🧍🏿‍♂️

Day 5 of Ramadan and it seems the masjid is having trouble fitting everyone in for tarawih prayers as the numbers of the local community has been steadily increasing.
The masjid is actually quite a big building and rooms that are usually not used have been opened up in order to accomodate more people. There is also an adjoining primary school and gym which is part of the mosque compound. These have also been opened up in order to accomodate more worshippers during the evening tarawih prayers.
The masjid managing commity has tasked brother Salih and sister Mary to work out exactly how many worhsippers the mosque can accomidate every night. The pair have been walking the rows every evening and counting how many people there are in each row.
Taking into consideration the saying of the prophet (Pbuh) that worshipers should stand feet to feet and shoulder to shoulder, they have concluded that each person should have a space of around 19 inches wide. Some people take their personal space a little more serious and stand with feet further aprt while others are closer together.

Alt text

While brother Salih has counted all the rows for the male prayer spaces, sister Mary has done the same for the female prayer areas.

They have provided a file with 2 columns. Each row represents one of the rows of the prayer spaces in the mosque. The left column is a measurement of how many inches wide the row is and the right column is the number of people standing for prayer in that row last night.

The file looks like this:

3453  179
1906  102
241  16
3580  191

Due to their being pillars and some rooms being different widths, some rows are significantly smaller / larger.
It appears that maybe some rows have people squeezed in too tight and some rows have people standing with their feet too far apart and possibly need a little encouragement to tighten up.

How many people should the mosque be able to accomadate once all the rows have been calculated?