In the plane are $10$ lines in general position, which means that no $2$ are parallel and no $3$ are concurrent. Where $2$ lines intersect, we measure the smaller of the two angles formed between them. What is the maximum value of the sum of the measures of these $45$ angles?