//here i compute both +\- input
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main()
{
char str1[1000],str2[1000],*ptr,temp;
long num1,num2,i,j,flag,a,b;
while(scanf("%s %s",str1,str2)==2)
{
if(strcmp(str1,"0")==0 && strcmp(str2,"0")==0)
printf("0 (base 2) = 0 (base 2)\n ...