class Time(object):
	'''Represents time in hours, minutes, seconds'''
	def print_time(self):
		print '%.2d:%.2d:%.2d' % (self.hour, self.minute, self.second)

	def time_to_int(self):
		minutes = self.hour * 60 + self.minute
		seconds = minutes * 60 + self.second
		return seconds
	
	def increment(self, seconds):
		seconds += self.time_to_int()
		return int_to_time(seconds)
		
def int_to_time(seconds):
	time = Time()
	minutes = seconds / 60
	time.second = seconds % 60
	time.hour = minutes / 60
	time.minute = minutes % 60
	return time

start = Time()
start.hour = 11
start.minute = 25
start.second = 0
end = int_to_time(3600+50*60)
end.print_time()
copystart = int_to_time(start.time_to_int())
copystart.print_time()
newstart = start.increment(20*60)
newstart.print_time()
