using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
publicclass MainClass{
publicstaticvoid Main(){
DateTime endTime = DateTime.Now.AddSeconds(123);
while (DateTime.Now < endTime)
{
Console.WriteLine(DateTime.Now.TimeOfDay.ToString());
}
}
}