basic approach with explanation || beginner friendly.
count variable store the count of senior citizens.s.substring() will take the age in stringInteger.parseInt() convert the string to integerif condition check if
# count variable store the count of senior citizens.
# s.substring() will take the age in string
# Integer.parseInt() convert the string to integer
# if condition check if age > 60 it increase the value of count by 1
# return count return the number of senior citizens
```java []
class Solution {
    public int countSeniors(String[] details) {
        int count=0;
        for(String s : details) {
            int age = Integer.parseInt(s.substring(11,13));
            if(age > 60) count++;
        }
        return count;
    }
}
```
['Java']