#include<stdio.h>

int main()
{
int i, j;

for (i=0; i<10; i++){
	for(j=0; j<10; j++)
		printf("%d xor %d = %d", i ,j, i^j);
	}

return 0;
}