Fixed input() and show() and added compare() to the date class