This time, Cuber QQ buys a kooky clock, the clock has three hands. Unlike ordinary clocks, the three hands of this clock are connected one by one, i.e., the first hand is at the innermost position, and its rotating center is the center of the dial. The rotating center of the second hand is the end of the first hand ; similarly, the third hand is rotating around the end of the second hand.respectively, and their rotating speed is also different, the time required for three hands to rotate in a 360-degree is. Cuber QQ assumes that the center of the clock is the origin of the axes and the end of three hands are at. He now wants to know the position of the end of the third hand after the hands of the clock have rotated
Cuber QQ likes observing the clock when he is bored. This time, Cuber QQ buys a kooky clock, the clock has three hands. Unlike ordinary clocks, the three hands of this clock are connected one by one, i.e., the first hand is at the innermost position, and its rotating center is the center of the dial. The rotating center of the second hand is the end of the first hand (that is, with the rotation of the first hand, the rotating center of the second hand will change); similarly, the third hand is rotating around the end of the second hand. The lengths of the three hands are l_1,l_2 l 1 ,l 2 and l_3 l 3 respectively, and their rotating speed is also different, the time required for three hands to rotate in a 360-degree is t_1 t 1 second, t_2 t 2 second and t_3 t 3 second. Cuber QQ assumes that the center of the clock is the origin of the axes and the end of three hands are at (0,l_1) (0,l 1 ), (0,l_1+l_2) (0,l 1 +l 2 ) and (0,l_1+l_2+l_3) (0,l 1 +l 2 +l 3 ) at begining. He now wants to know the position of the end of the third hand after the hands of the clock have rotated T T seconds.