{"raw_statement":[{"iden":"problem statement","content":"Given are $N$ integers between $2$ and $50$ (inclusive): $X_1, X_2, \\cdots, X_N$. Find the minimum positive integer $Y$ that satisfies the following for every $i = 1, 2, \\cdots, N$:\n\n*   $X_i$ and $Y$ are not coprime."},{"iden":"constraints","content":"*   $1 \\leq N \\leq 49$\n*   $2 \\leq X_i \\leq 50$\n*   $X_i \\neq X_j (i \\neq j)$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$\n$X_1$ $X_2$ $\\ldots$ $X_N$"},{"iden":"sample input 1","content":"2\n4 3"},{"iden":"sample output 1","content":"6\n\nBeing not coprime with $4$ requires being even, and being not coprime with $3$ requires being a multiple of $3$."},{"iden":"sample input 2","content":"1\n47"},{"iden":"sample output 2","content":"47"},{"iden":"sample input 3","content":"7\n3 4 6 7 8 9 10"},{"iden":"sample output 3","content":"42"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}