What is your idea about the perfect date? Umm... I mean, the Date Format. You may have already known that American and European people use different date format. Sometimes, it gets super confusing. For example, 10/12/2017 may mean 10th December 2017 or 12th October 2017. Americans usually prefer writing dates in MM/DD/YYYY format where Month comes before Day. On the other hand, Europeans prefer DD/MM/YYYY.
In this problem, you will be given two dates. First one can be in either American or European style and second one can also be in either American or European style. If both the dates point to only a single day, you will print "Same". If the dates are completely different, you will print "Different". Otherwise, you will print "Not Sure".
Input begins with an integer T denoting the number of test cases (T<=100).
Each test case contains two valid dates from 01/01/2000 to 01/01/2018 in two separate lines.
Print the answer in a single line for each test case. See the samples for exact formatting.
Input | Output |
---|---|
2 30/11/2017 11/30/2017 25/03/2012 10/19/2001 | Same Different |