A=map(int,input().split('.')) B=map(int,input().split('.')) for x,y in zip(A,B): if x