import sys
import random
import string


def unique(s):
    return list(set(s))

def intersect(a, b):
    return list(set(a) & set(b))

def union(a, b):
    return list(set(a) | set(b))

def jaccard(a, b):
    return (len(intersect(a,b))) / float(len(union(a,b)))

309b0763d7cee888e67772a63ba842430cb6d839
<mask token>


def jaccard(a, b):
    return len(intersect(a, b)) / float(len(union(a, b)))

<mask token>


def intersect(a, b):
    return list(set(a) & set(b))


def union(a, b):
    return list(set(a) | set(b))


def jaccard(a, b):
    return len(intersect(a, b)) / float(len(union(a, b)))

<mask token>


def unique(s):
    return list(set(s))


def intersect(a, b):
    return list(set(a) & set(b))


def union(a, b):
    return list(set(a) | set(b))


def jaccard(a, b):
    return len(intersect(a, b)) / float(len(union(a, b)))

import sys
import random
import string


def unique(s):
    return list(set(s))


def intersect(a, b):
    return list(set(a) & set(b))


def union(a, b):
    return list(set(a) | set(b))


def jaccard(a, b):
    return len(intersect(a, b)) / float(len(union(a, b)))

import sys
import random
import string


def unique(s):
    return list(set(s))

def intersect(a, b):
    return list(set(a) & set(b))

def union(a, b):
    return list(set(a) | set(b))

def jaccard(a, b):
    return (len(intersect(a,b))) / float(len(union(a,b)))
