def load_txt(path):
    """
    load txt file
    :param path: the path we save the data.
    :return: data as a list.
    """
    with open(path,'r') as f:
        data = []
        while True:
            a = f.readline().split()
            if a:
                data.append(a[0])
            else:
                break
    return data