Kotiya Sanae(こちや·さなえ) is a human who owns occult sciences incantation.
The incantation is passed on from generation to generation singly.
There're two version of incantation. One is original, and another one is a copy.
Your task is to recognize whether they are same, similar or different.
'Same' means every characters are same, including the order.
'Similar' means every visible characters are same, including the order. The visible characters are not space(' '), line break('\r' and '\n') and tab('\t').
And all of the left situations are 'Different'.
This problem has several cases.
Each case is two strings, including 'a' - 'z', 'A' - 'Z', '\n', '\r', ' ' and '\t'.
Each string is breaked by character '-'.
For each case, you just output 'SAME', 'SIMILAR' or 'DIFFERENT'.