def create_udp_port(byte_array):
    """
    Creates the UDP port out of the byte array
    :param byte_array: The byte array we want to get the port number
    :return: Integer of the port number
    """
    first_two_bytes = [int(no) for no in byte_array]
    first_two_bytes = first_two_bytes[:2]
    return int.from_bytes(bytes(first_two_bytes), "little")