The Algorithm to detect the stand up student(s)