C++ || simple Straight forward approach
\nclass Solution {\npublic:\n    int countSeniors(vector<string>& details) {\n        vector<int> ages;\n        int ans = 0;\n        for(auto it:details){\n  
```\nclass Solution {\npublic:\n    int countSeniors(vector<string>& details) {\n        vector<int> ages;\n        int ans = 0;\n        for(auto it:details){\n            string s = it.substr(11,2);\n            cout<<s<<" ";\n            int temp = stoi(s);\n            ages.push_back(temp);\n        }\n        for(auto it:ages){\n            if(it > 60)\n                ans++;\n        }\n        return ans;\n    }\n};\n```\n\n![image](https://assets.leetcode.com/users/images/39451a8b-4887-46f6-9b8f-b994e2e40253_1687453528.6643982.jpeg)\n\n**please upvote!! if you like.**\ncomment below\uD83D\uDC47
['String', 'C']