n = int(input()) z = input().split() print(z[-1] + '/' + z[0])