POJ#1207 recursive, table saving time.

Remember that the first number might be bigger than the second.