#include <stdio.h>
int main(void) {
int x,y,z=0,w=0;
for(;~
scanf("%d%d",&x
,&y
);z
^=x
)w
^=y
; return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgeCx5LHo9MCx3PTA7CiAgICBmb3IoO35zY2FuZigiJWQlZCIsJngsJnkpO3pePXgpd149eTsKICAgIHByaW50ZigiJWQsJWQiLHosdyk7CglyZXR1cm4gMDsKfQ==