Minimum possible value of x so that Gcd of x is 1 with each element
Given an array arr[], the task is to find the minimum positive integer x (x > 1) such that for every ai for (0 ⤠i ⤠n-1), gcd(ai, x) = 1. Examples: Input: item[] = [10, 3, 1]Output: 7Explanation: gcd(10, 7) = 1gcd(3, 7) = 1gcd(1, 7) = 1 Input: item[] = [2, 4, 6]Output: 5Explanation: gcd(2, 5) =