In [13]:
import
numpy
as
np
from
collections
import
defaultdict