def get_clouds(wxdata: [str]) -> ([str], list):  
clouds = []<EOL>for i, item in reversed(list(enumerate(wxdata))):<EOL><INDENT>if item[:<NUM_LIT:3>] in CLOUD_LIST or item[:<NUM_LIT:2>] == '<STR_LIT>':<EOL><INDENT>cloud = wxdata.pop(i)<EOL>clouds.append(make_cloud(cloud))<EOL><DEDENT><DEDENT>return wxdata, sorted(clouds, key=lambda cloud: (cloud.altitude, cloud.type))<EOL>
Returns the report list and removed list of split cloud layers