import sys input=lambda: sys.stdin.readline().rstrip() n=int(input()) Z=[int(i) for i in input().split()] print(str(Z[-1]+"/"+Z[0]))