Recognizing violated number in the group