n = int(input()) z = list(map(int,input().split())) print(str(z[-1]) + "/" + str(z[0]))