Easy Solution
IntuitionApproachsingle loop and subtratcing from 0Complexity

Time complexity:
O(n)


Space complexity:

Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
single loop and subtratcing from 0

# Complexity
- Time complexity:
O(n)

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

# Code
```cpp []
class Solution {
public:
    int countSeniors(vector<string>& details) {
        int sol = 0;
        for(int i = 0; i < details.size(); ++i){
            string str = details[i];
            int age = (str[11]- '0')*10+(str[12] - '0');
            if(age > 60) ++sol;
        }
        return sol;
    }
};
```
['C++']