x=readFile(1) y=readFile(2) while x!=(-1) && y!=(-1) if x==y if readFile(3)!=x else x=readFile(1) y=readFile(2) else if x