def big_small(blocks) -> list:
    """ 
    Return a list of minimum and maximum cordinates in the blocks.
    Return Order:
        [min_x, min_y, max_x, max_y]
    """

    lst = [blocks[0]['x'], blocks[0]['y'], blocks[0]['x'], blocks[0]['y']]

    for block in blocks:
        if block['x'] < lst[0]:
            lst[0] = block['x']
        if block['y'] < lst[1]:
            lst[1] = block['y']
        if block['x'] > lst[2]:
            lst[2] = block['x']
        if block['y'] > lst[3]:
            lst[3] = block['y']
    return lst