Amazon Interview Question

Write a program that repeatedly prompts users for integer numbers until the user enters 'done'. Once 'done' is entered, print out the largest and smallest numbers. If the user enters anything other than a valid number Catch it with a try/except put out an appropriate message and ignore the invalid entry.