Write a program that checks if the date X is located between dates M and N on the timeline and that these dates are not equal. Your program should read three dates from the standard input. Each date should have a year-month-day format.
Input data format
The single line containing three dates (X, M, N) separated by the space character.
Output data format
The program must output "true" or "false".