class Solution { public boolean checkRecord(String s) { int count = 0; for(int i=0; i