{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003eThere are \u003ci\u003en\u003c/i\u003e planets in the planetary system of star X. They orbit star X in circular orbits located in the same plane. Their tangent velocities are constant. Directions of orbiting of all planets are the same.\u003c/p\u003e\u003cp\u003eSometimes the event happens in this planetary system which is called \u003ci\u003eplanet parade\u003c/i\u003e. It is the moment when all planets and star X are located on the same straight line.\u003c/p\u003e\u003cp\u003eYour task is to find the length of the time interval between two consecutive planet parades.\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cspan lang\u003d\"en-us\"\u003e\u003cp\u003eThe first line of the input file contains \u003ci\u003en\u003c/i\u003e — the number of planets (2 ≤ \u003ci\u003en\u003c/i\u003e ≤ 1 000).\u003c/p\u003e\u003cp\u003eSecond line contains n integer numbers \u003ci\u003et\u003csub\u003ei\u003c/sub\u003e\u003c/i\u003e — the orbiting periods of planets (1 ≤ \u003ci\u003et\u003csub\u003ei\u003c/sub\u003e\u003c/i\u003e ≤ 10 000). Not all of \u003ci\u003et\u003csub\u003ei\u003c/sub\u003e\u003c/i\u003e are the same.\u003c/p\u003e\u003c/span\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003eOutput the answer as a common irreducible fraction, separate numerator and denominator by a space.\u003c/p\u003e"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3\r\n6 2 3\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e3 1\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Hint","value":{"format":"HTML","content":"\u003cdiv align\u003d\"center\"\u003e\u003cimg src\u003d\"CDN_BASE_URL/677a0cf854675aa73f8cbbcb9795dde9?v\u003d1714845999\"\u003e\u003c/div\u003e"}}]}