while 1: b='' for c in input():cc]);a,b=b,c