# [APL (Dyalog Unicode)], 33 [bytes](https://codegolf.meta.stackexchange.com/a/9429/43319 "When can APL characters be counted as 1 byte each?")<sup>[SBCS](https://github.com/abrudz/SBCS ".dyalog files using a single byte character set")</sup> <!-- language-all: lang-apl --> {⍺h⍵+1}+h←(,≡30 31|,)×21 2∨.≥⊢,-⍨ [Try it online!][TIO-jtxpkchm] [APL (Dyalog Unicode)]: https://www.dyalog.com/ [TIO-jtxpkchm]: https://tio.run/##fY69SgNBFIX7eYrbRclG5ieFa2tjKsHkBUZ34gwMm@CMQlArIZjABi3EWkFIl8omZXyT@yLrTWa102bOncO95zt67DvFRPvRZY2LFzfC6ROvb7FaW6w@2@K@bcnZy3D2pjgocZftf71KARIflwc4@8D5e9bBalkPaQ2rBWX0TnH@sFkpnD7Tr392TO/gpNevWwNrgoFoQoQLHUwAfWXgRntXZKDLAqI1EEwEqwOYsjDFUYtxGIIUTMikhCZVTB6SKs5knvTf7PPr@JvtAoTovAdXwtjrSYPgCcQTSMgG9AOUfwBcuUNQyGa12xQ5TSJPtzRtraa8bMoKpngq3d36XcUET7ck3w "APL (Dyalog Unicode) – Try It Online" in: ⍺=smaller, ⍵=larger out: 2=ongoing, 1=ended, 0=invalid tests stolen from [Adám's answer](https://codegolf.stackexchange.com/questions/182245/valid-badminton-score/182370#182370)