import math


def angle_between_three_points(point1, point2, point3):
    """
    Calculate angle between point1 - point2 - point3
      param  point1 : (x1, y1)
      param  point2 : (x2, y2)
      param  point3 : (x3, y3)
      return absolute angle in degree integer
    """
    angle = math.atan2(point1[1] - point2[1], point1[0] - point2[0])
    angle -= math.atan2(point3[1] - point2[1], point3[0] - point2[0])
    angle = int(math.degrees(angle))
    return angle