In a playground, a group of kids is playing hide and seek. As the name suggests, the game is about kids hiding and seeking other kids. Each kid is either a hiding kid or a seeking kid. Hiding kids are kids that just try not to be found, while seeking kids are kids that try to nd (hiding and seeking) kids.
As you may note, both hiding and seeking kids try not to be found, and for doing this they use some walls that there are in the playground. Each wall is represented by a line segment and each kid is represented by a point in the $XY$ plane. Two kids see each other if and only if the line segment between them does not intersect any wall segment.
Your task is to calculate how many other kids each seeking kid can see. To simplify the problem, you may assume that walls do not intersect even at their endpoints. Moreover, no three points arecollinear within the set formed by kids and endpoints of walls; this implies that kids are not inside walls, and that no two kids have the same location.