print "hello"
list_of_numbers = []
while True:
integer_number = raw_input("Please enter a number ")
if integer_number == "done":
break
try:
num = float(integer_number)
except:
print "Invalid Input"
continue
#print num
list_of_numbers.append(num)
#print list_of_numbers
#print "all done"
start_number = -1
for num in list_of_numbers:
#print num
if num > start_number:
start_number = num
print "Maximum is ", int(start_number)
small_number = None
for number in list_of_numbers:
if small_number is None:
small_number = number
elif number < small_number:
small_number = number
print "Minimum is ", int(small_number)