Fill in parseOrDefault so that it returns the number in the string, or def when the string is not a number.
parseOrDefault
def
The program prints 42 and then -1.
42
-1