Instead of just having `ans` for the last answer, why not memorize all the answers: cork> 10+2 $0: 12 cork> 3+$0 $1: 15