#!/usr/bin/python
count = 0
total = 0
while True:
	inp = raw_input('Enter a number: ')

	# Handle edge case
	if inp == 'done' : break
	if len(inp) < 1 : break			#check for empty  line
	
	# Do the work
	try :
		num = float(inp)
	except: 
		print "Invalid input"
		continue
	count = count + 1
	total = total + num
	print num, total, count

print min(num)
#~ print 'Count = ', count
#~ print 'Average:', total / count
f2edfbf5f3a91f43ead9155b950845df2ec6ecbc
#!/usr/bin/python
count = 0
total = 0
while True:
	inp = raw_input('Enter a number: ')

	# Handle edge case
	if inp == 'done' : break
	if len(inp) < 1 : break			#check for empty  line
	
	# Do the work
	try :
		num = float(inp)
	except: 
		print "Invalid input"
		continue
	count = count + 1
	total = total + num
	print num, total, count

print min(num)
#~ print 'Count = ', count
#~ print 'Average:', total / count