N = int(input()) Z = list(map(int, input().split())) ans = [str(Z[-1]), '/', str(Z[0])] print(''.join(ans))