n = int(input()) nlist = [ v for v in input().split(" ") ] print(nlist[-1] + "/" + nlist[0])