// Include iostream library. This allows us use of cout and cin.
#include <iostream>

// Use std namespace
using namespace std;

int main()
{
	// Print the riddle
	cout << "On my way to St. Ives," << endl;
	cout << "I met a man with seven wives." << endl;
	cout << "Each wife had seven sacks," << endl;
	cout << "Each sack had seven cats," << endl;
	cout << "Each cat had seven kits." << endl;
	cout << "Kits, cats, sacks, and wives," << endl;
	cout << "How many were going to St. Ives?" << endl;

	// Wait for input from the user
	cin.get();

	// End the program
	return 1;

}