import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int cnt; int za; int zb; int[] sita; public static void main(String[] args) { new Main().solve(); } void solve() { cnt = sc.nextInt(); sita = new int[cnt]; for(int i = 0; i < cnt; i++) { sita[i] = sc.nextInt(); } za = sita[0]; zb = sita[cnt - 1]; System.out.println(zb + "/" + za); } }