import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
scanner.nextLine();
Set<Long> set = new HashSet<>();
for(int i = 0; i < n; i++) {
set.add(scanner.nextLong());
}
n = set.size();
Iterator<Long> iterator = set.iterator();
int o = 0;
long[] temp = new long[n];
while(iterator.hasNext()) {
temp[o++] = iterator.next();
}
Arrays.sort(temp);
long[] q1 = new long[n-1];
long[] q2 = new long[n-1];
for(int i = 0; i < n-1; i++) {
long x = gcd(temp[i+1],temp[i]);
q1[i] = temp[i+1]/x;
q2[i] = temp[i]/x;
}
Arrays.sort(q1);
Arrays.sort(q2);
long ans1=q1[0],ans2=q2[0];
for(int i=1;i<=n-2;i++){
ans1=qgcd(ans1,q1[i]);
ans2=qgcd(ans2,q2[i]);
}
System.out.println(ans1 + "/" + ans2);
}
public static long qgcd(long a,long b){
if(a==b)
return a;
return qgcd(Math.min(b/a,a), Math.max(b/a,a));
}
public static long gcd(long a, long b) {
if(0 == a) return b;
if(0 == b) return a;
if(a<b) {
long c = a;
a = b;
b = c;
}
for(long c = a%b; c > 0; c = a%b) {
a = b;
b = c;
}
return b;
}
}