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