def solve(): N = int(input()) L = list(map(int, input().split())) print('%d/%d' % (L[-1], L[0])) if __name__ == '__main__': solve()