you give string s represent attendance record student character signify student absent late present day the record contain follow charactersA AbsentL LateP PresentThe student eligible attendance award meet follow criteriathe student absent a strictly few 2 day totalthe student late L 3 consecutive daysreturn true student eligible attendance award false Example 1input s PPALLPOutput trueexplanation the student few 2 absence late 3 consecutive daysExample 2input s PPALLLOutput falseexplanation the student late 3 consecutive day 3 day eligible award Constraints1 slength 1000si A L p