# [PowerShell], <s>66</s> 37 bytes <!-- language-all: lang-powershell --> ($args|group|% c*t|%{$_-eq2}|sort)[0] [Try it online!][TIO-jxufrjv6] [PowerShell]: https://github.com/TryItOnline/TioSetup/wiki/Powershell [TIO-jxufrjv6]: https://tio.run/##fU/RasMwDHz3VwSa1smmQew4s/OwLylllOKkHWHpnJQN6nx7dnZa@laMTzpJPp/O/a91w9F23Zw2H9c5S/euHXzr@svZr5PDy@jX1/Tzzf7IyQ@9G/NtsZsnxlaju1iWaRIl1SRJFAAVQiwpqnNimUCxpIiRFhiIF3BLbyy2JWZlnDQkJVVamJpULe/EkIl0yZc2dHJ45Ju0SfgrrH71p2@ecH@yfxPjnK2afTfA6jtMKQqoww2/QPh@Aq0gpiggYihoTaVAAWCwmEYKC4/F5OJbBeH4oMIqZfHM0fwP "PowerShell – Try It Online" Groups `$l` and iterates through it, checking each group's count to see if they're size 2. It pushes all the check's output (`True` or `False`) to the pipeline, sorts them all, and pushes the first index to STDOUT. If any check failed, it will be `False` due to the sort.