🔥Java beats 100% || Easy to Understand
Code\n\nclass Solution {\n    public int countSeniors(String[] details) {\n        int count = 0;\n        \n        for(int i = 0; i < details.length; i++) {\n
# Code\n```\nclass Solution {\n    public int countSeniors(String[] details) {\n        int count = 0;\n        \n        for(int i = 0; i < details.length; i++) {\n            int age = (details[i].charAt(11) - \'0\') * 10 + (details[i].charAt(12) - \'0\');\n            \n            if(age > 60) {\n                count++;\n            }\n        }\n        return count;\n    }\n}\n```
['Java']