Simple and easy solution 
IntuitionThe goal is to count the number of people whose age is greater than 60 from a list of strings. Each string contains detailed information, and the age i
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
The goal is to count the number of people whose age is greater than 60 from a list of strings. Each string contains detailed information, and the age is located at a specific position.

---

# Approach
<!-- Describe your approach to solving the problem. -->
Extract Age: For each entry in the list of details, extract the substring that represents the age.
Convert to Integer: Convert the extracted substring to an integer.
Count Seniors: Check if the age is greater than 60. If so, increment the count.

---

# Complexity
- Time complexity: O(n)
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:O(1)
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

---

# PLEASE UPVOTE 

---

# FEEL FREE TO ASK

---

# Code
```java []

class Solution {
    public int countSeniors(String[] details) {
        int count=0;
        for(String i:details){
            int age=Integer.parseInt(i.substring(11,13));
            if(age>60){
                count+=1;
            }
        }
        return count;
    }
}
```
['Array', 'String', 'Java']