A very important and complicated machine consists of n wheels, numbered l, 2, . . . , n. They

are actually cogwheels, but the cogs are so small that we can model them as circles on the plane.

Every wheel can spin around its center.

Two wheels cannot overlap (they do not have common interior points), but they can touch.

If two wheels touch each other and one of them rotates, the other one spins as well, as their

micro-cogs are locked together.

A force is put to wheel I (and to no other wheel), making it rotate at the rate of exactly

one turn per minute, clockwise. Compute the rates of other wheels7 movement. You mav assume

that the machine is not jammed (the movement is physically possible).

给出平面上的n个齿轮，忽略齿的大小。它们不能有交集，但可以相切。当用T=1的速度推动1号齿轮时（相切的转动，可以传动），求每个齿轮的转速。你可以假定机器不会卡死。

n<=1000

其余数字<=10000