var s=readLine while(0<1)print((s.tail.diff{print(s(0)) s=readLine.distinct s}:\"v")(">"+_+_))