import java.util.*;
class clock {
public static void main(String a[]) {
int seconds,minutes,hours,date,month,year;
Date now = new Date();
seconds = now.getSeconds();
minutes = now.getMinutes();
hours = now.getHours();
date = now.getDate();
month = now.getMonth();
year = now.getYear();
System.out.println("Year "+year+" month "+month+" date "+date+" time " +hours+":"+minutes+":"+seconds);
}
}