import java.util.Calendar;
public class Time {
public static void main(String[] args) {
Calendar calendar = Calendar.getInstance();
int hh = calendar.get(Calendar.HOUR);
int mm = calendar.get(Calendar.MINUTE);
int ss = calendar.get(Calendar.SECOND);
System.out.println(hh + ":" + mm + ":" + ss);
}
}