Easy and Simple Solution
Please Like ❤️IntuitionEasy problem, just need to check index 11 and 12 of the string for each array.ApproachThe logic is clear:
Check if the age digit at index
```java
class Solution {
    public int countSeniors(String[] details) {
        int count = 0;
        for (String detail : details) {
            // Check the age from the details string
            char ageTens = detail.charAt(11);
            char ageUnits = detail.charAt(12);
            
            // If the age tens digit is '7' or more, or if it's '6' and the units digit is '1' or more
            if (ageTens >= '7' || (ageTens == '6' && ageUnits >= '1')) {
                count++;
            }
        }
        return count;
    }
}
```

# Please Like ❤️  
![Please Like](https://media.tenor.com/heEyHbV8iaUAAAAM/puss-in-boots-shrek.gif)

# Intuition  
Easy problem, just need to check index 11 and 12 of the string for each array.

# Approach  
The logic is clear:  
- Check if the age digit at index 11 is greater than or equal to 7, which directly implies an age of 70 or more.  
- If the age digit at index 11 is 6, check if the digit at index 12 is greater than or equal to 1, which covers ages from 61 to 69.  

# Complexity  
- **Time complexity**:  
  $$O(n)$$, where `n` is the number of strings in the array.  

- **Space complexity**:  
  $$O(1)$$, using a constant amount of extra space.  
['Java']