Python Solution
\n\n# Code\n\nfrom typing import List\n\nclass Solution:\n    def countSeniors(self, details: List[str]) -> int:\n        count = 0\n        for i in details:\n
\n\n# Code\n```\nfrom typing import List\n\nclass Solution:\n    def countSeniors(self, details: List[str]) -> int:\n        count = 0\n        for i in details:\n            age = int(i[11:13])  \n            if age > 60:              \n                count += 1            \n        return count\n\n```\n\n\n### Example 1:\n**Input:** `details = ["7868190130M7522", "5303914400F9211", "9273338290F4010"]`\n\nWe need to determine the number of passengers older than 60. Let\'s break down each string:\n\n1. **"7868190130M7522"**:\n   - **Phone number:** "7868190130" (first 10 characters)\n   - **Gender:** "M" (11th character)\n   - **Age:** "75" (12th and 13th characters)\n   - **Seat number:** "22" (last 2 characters)\n   \n   The age here is 75, which is greater than 60. So, this passenger is counted.\n\n2. **"5303914400F9211"**:\n   - **Phone number:** "5303914400" (first 10 characters)\n   - **Gender:** "F" (11th character)\n   - **Age:** "92" (12th and 13th characters)\n   - **Seat number:** "11" (last 2 characters)\n   \n   The age here is 92, which is greater than 60. So, this passenger is also counted.\n\n3. **"9273338290F4010"**:\n   - **Phone number:** "9273338290" (first 10 characters)\n   - **Gender:** "F" (11th character)\n   - **Age:** "40" (12th and 13th characters)\n   - **Seat number:** "10" (last 2 characters)\n   \n   The age here is 40, which is not greater than 60. So, this passenger is not counted.\n\nFrom the above breakdown:\n- Passengers with ages 75 and 92 are older than 60.\n- Total count of passengers older than 60 = 2.\n\n**Output:** `2`\n\n### Example 2:\n**Input:** `details = ["1313579440F2036", "2921522980M5644"]`\n\nLet\'s break down each string:\n\n1. **"1313579440F2036"**:\n   - **Phone number:** "1313579440" (first 10 characters)\n   - **Gender:** "F" (11th character)\n   - **Age:** "20" (12th and 13th characters)\n   - **Seat number:** "36" (last 2 characters)\n   \n   The age here is 20, which is not greater than 60. So, this passenger is not counted.\n\n2. **"2921522980M5644"**:\n   - **Phone number:** "2921522980" (first 10 characters)\n   - **Gender:** "M" (11th character)\n   - **Age:** "56" (12th and 13th characters)\n   - **Seat number:** "44" (last 2 characters)\n   \n   The age here is 56, which is not greater than 60. So, this passenger is also not counted.\n\nFrom the above breakdown:\n- No passengers are older than 60.\n- Total count of passengers older than 60 = 0.\n\n**Output:** `0`\n
['Python3']