def read_input(path):
    """
    It reads a file content
    :param path: the path of the file to read.
    :return: It returns the file's data as a list.
    :raises: If the sum of the numbers contained in the file exceed 255.
    """
    with open(path, "r", encoding="utf-8") as file:
        input_data = list(map(int, file.readline().split()))
    if sum(input_data) > 255:
        raise Exception('The sum can not exceed the maximum value stored in 8 bit.')
    return input_data