Show us what *SHOULD* be the result for all of those examples, and explain why for the first several rows.