def get_type_and_times(wxdata: [str]) -> ([str], str, str, str):  
report_type, start_time, end_time = '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'<EOL>if wxdata:<EOL><INDENT>if wxdata[<NUM_LIT:0>] in TAF_NEWLINE:<EOL><INDENT>report_type = wxdata.pop(<NUM_LIT:0>)<EOL><DEDENT>elif len(wxdata[<NUM_LIT:0>]) == <NUM_LIT:6> and wxdata[<NUM_LIT:0>].startswith('<STR_LIT>'):<EOL><INDENT>report_type = wxdata.pop(<NUM_LIT:0>)<EOL><DEDENT><DEDENT>if wxdata:<EOL><INDENT>if len(wxdata[<NUM_LIT:0>]) == <NUM_LIT:9> and wxdata[<NUM_LIT:0>][<NUM_LIT:4>] == '<STR_LIT:/>'and wxdata[<NUM_LIT:0>][:<NUM_LIT:4>].isdigit() and wxdata[<NUM_LIT:0>][<NUM_LIT:5>:].isdigit():<EOL><INDENT>start_time, end_time = wxdata.pop(<NUM_LIT:0>).split('<STR_LIT:/>')<EOL><DEDENT>elif len(wxdata[<NUM_LIT:0>]) > <NUM_LIT:7> and wxdata[<NUM_LIT:0>].startswith('<STR_LIT>'):<EOL><INDENT>report_type = '<STR_LIT>'<EOL>if '<STR_LIT:/>' in wxdata[<NUM_LIT:0>] and wxdata[<NUM_LIT:0>][<NUM_LIT:2>:].split('<STR_LIT:/>')[<NUM_LIT:0>].isdigit()and wxdata[<NUM_LIT:0>][<NUM_LIT:2>:].split('<STR_LIT:/>')[<NUM_LIT:1>].isdigit():<EOL><INDENT>start_time, end_time = wxdata.pop(<NUM_LIT:0>)[<NUM_LIT:2>:].split('<STR_LIT:/>')<EOL><DEDENT>elif wxdata[<NUM_LIT:0>][<NUM_LIT:2>:<NUM_LIT:8>].isdigit():<EOL><INDENT>start_time = wxdata.pop(<NUM_LIT:0>)[<NUM_LIT:2>:<NUM_LIT:6>]<EOL><DEDENT>if wxdata and len(wxdata[<NUM_LIT:0>]) > <NUM_LIT:7> and wxdata[<NUM_LIT:0>].startswith('<STR_LIT>')and wxdata[<NUM_LIT:0>][<NUM_LIT:2>:<NUM_LIT:8>].isdigit():<EOL><INDENT>end_time = wxdata.pop(<NUM_LIT:0>)[<NUM_LIT:2>:<NUM_LIT:6>]<EOL><DEDENT><DEDENT><DEDENT>return wxdata, report_type, start_time, end_time<EOL>
Returns the report list and removed:
Report type string, start time string, end time string