(while(print(if(#/c[^=]|[^1],2|3$/(read-line))'same'different)))