def target_to_difficulty(target):
    """
    Calculate difficulty from target

    :param target: integer.
    :return: float.
    """
    return (
        26959535291011309493156476344723991336010898738574164086137773096960 /
        target)
