n = io.read("*n", "*l") s = io.read() a = string.find(s, " ") first = string.sub(s, 1, a - 1) pos = 1 for i = 1, n - 1 do a, b = string.find(s, " ", pos) pos = b + 1 end len = string.len(s) z = string.sub(s, pos, len) print(string.format("%s/%s", z, first))