Attendance Tracking System

Hello,
I have 100 people among these people, we keep the people who do not pass through the turnstile during the day in a certain list, when the robot works on the second day, it should compare the ones who did not come yesterday and make the same number of people twice, and remove those who were on the old list but not on the second day list, the number should increase as the new day works.

1 - I have 100 contact information
2- Every person has to pass through the turnstile.
3- When the robot works on the first day, it writes down the ones that did not pass through the turnstile.
4- When the robot works on the second day, it compares with those who did not come on the first day, and if there are the same people, it should do it twice.
5-If there is one on the first day list but not on the second day, it should be deleted from the list.
6- The third day continues like this.

how do i do this.