{"problem":{"name":"Multiple Clocks","description":{"content":"We have $N$ clocks. The hand of the $i$\\-th clock $(1≤i≤N)$ rotates through $360°$ in exactly $T_i$ seconds.   Initially, the hand of every clock stands still, pointing directly upward.   Now, Dolphin","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc070_c"},"statements":[{"statement_type":"Markdown","content":"We have $N$ clocks. The hand of the $i$\\-th clock $(1≤i≤N)$ rotates through $360°$ in exactly $T_i$ seconds.  \nInitially, the hand of every clock stands still, pointing directly upward.  \nNow, Dolphin starts all the clocks simultaneously.  \nIn how many seconds will the hand of every clock point directly upward again?\n\n## Constraints\n\n*   $1≤N≤100$\n*   $1≤T_i≤10^{18}$\n*   All input values are integers.\n*   The correct answer is at most $10^{18}$ seconds.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n$T_1$\n$:$  \n$T_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc070_c","tags":[],"sample_group":[["2\n2\n3","6\n\nWe have two clocks. The time when the hand of each clock points upward is as follows:\n\n*   Clock $1$: $2$, $4$, $6$, $...$ seconds after the beginning\n*   Clock $2$: $3$, $6$, $9$, $...$ seconds after the beginning\n\nTherefore, it takes $6$ seconds until the hands of both clocks point directly upward."],["5\n2\n5\n10\n1000000000000000000\n1000000000000000000","1000000000000000000"]],"created_at":"2026-03-03 11:01:14"}}