St. Ives Problem

Classic Problem

 * As I was going to St. Ives
 * I met a man with seven wives
 * Every wife had seven sacks
 * Every sack had seven cats
 * Every cat had seven kits
 * Kits, cats, sacks and wives
 * How many were going to St. Ives?