code: def get_temp_and_dew(wxdata: str) -> ([str], Number, Number):  # type: ignore
      
      for i, item in reversed(list(enumerate(wxdata))):
          if '/' in item:
              # ///07
              if item[0] == '/':
                  item = '/' + item.lstrip('/')
              # 07///
              elif item[-1] == '/':
                  item = item.rstrip('/') + '/'
              tempdew = item.split('/')
              if len(tempdew) != 2:
                  continue
              valid = True
              for j, temp in enumerate(tempdew):
                  if temp in ['MM', 'XX']:
                      tempdew[j] = ''
                  elif not is_possible_temp(temp):
                      valid = False
                      break
              if valid:
                  wxdata.pop(i)  # type: ignore
                  return (wxdata, *[make_number(t) for t in tempdew])
      return wxdata, None, None
docs: Returns the report list and removed temperature and dewpoint strings