def det(a, b, c, d) :
  return a*d-b*c

def align(xA, yA, xB, yB, xC, yC) :
  x1, y1 = xB - xA, yB - yA
  x2, y2 = xC - xA, yC - yA
  if det(x1, y1, x2, y2) == 0:
    return True
  else :
    return False

def para(xA, yA, xB, yB, xC, yC, xD, yD) :
  x1, y1 = xB - xA, yB - yA
  x2, y2 = xD - xC, yD - yC
  if det(x1, y1, x2, y2) == 0:
    return True
  else :
    return False

def col(xU, yU, xV, yV) :
  if det(xU, yU, xV, yV) == 0:
    return True
  else :
    return False