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