for(n=[90,68,660][gc()[37]%3];n>>=1;)print(n%2?"same":"different")