code: def step_1b(word, r1):
      if word.endswith("eedly"):
          if len(word) - 5 >= r1:
              return word[:-3]
          return word
      if word.endswith("eed"):
          if len(word) - 3 >= r1:
              return word[:-1]
          return word
  
      for suffix in s1b_suffixes:
          if word.endswith(suffix):
              preceding = word[: -len(suffix)]
              if s1b_exp.search(preceding):
                  return step_1b_helper(preceding)
              return word
  
      return word
  
imports: import re
label_desc: Use image node_id 11 for calling a global function with example usage: step_1b(word, r1) and returns: word, word, word, word, word, word, step_1b_helper