Easy 3 line code || Beats 100% ||Easier than Easy
\n\n\n# Code\nJava []\nclass Solution {\n    public int countSeniors(String[] details) {\n       int count=0;\n       for (String passengerInfo : details) {\n  
![6c3f759d-a2ee-44bc-86a2-319fa9991c17_1718074709.4420424.jpeg](https://assets.leetcode.com/users/images/41c520a7-1261-46e6-8c50-8406c4851c47_1722490646.2080805.jpeg)\n\n\n# Code\n``` Java []\nclass Solution {\n    public int countSeniors(String[] details) {\n       int count=0;\n       for (String passengerInfo : details) {\n            int ageTens = passengerInfo.charAt(11) - \'0\';\n            int ageOnes = passengerInfo.charAt(12) - \'0\';\n\n            int age = ageTens * 10 + ageOnes;\n           if(age>60){\n                count++;\n            }\n        }\n    return count++;\n    }   \n}\n```
['Array', 'String', 'Java']