common

JavaF

Count of common factors

Given a set of numbers, the program must find the count of the common factors C excluding 1. Input Format:First line will contain the integer…