code: def from_string(cls, in_txt):
      #   in_txt should be AAAKK, but KKAAA is also fine
      reversed_order_txt = in_txt[2:] + in_txt[:2]
      for txt in (in_txt, reversed_order_txt):
          if (
              len(txt) == 5
              and txt[0] == txt[1] == txt[2]
              and txt[2] != txt[3]
              and txt[3] == txt[4]
              and txt[0] in CARDS
              and txt[3] in CARDS
          ):
              return cls(txt[0], txt[3])
  
imports: from functools import total_ordering
  from itertools import combinations
  from typing import Literal, Union
label_desc: Use image node_id 3 for calling the FullHouse obj's underlying member method code with example usage: obj.from_string(cls, in_txt) and returns: cls