p;main(t,s){for(;t^=gets(s+1);putchar(!p?t=index(t+1,118),10:97-s+(p