#include <iostream>
using namespace std;
int main()
{
string characterName = "Tom";
int characterAge;
characterAge = 50;
cout << "There once was a man named " << characterName << std::endl;
cout << "He was " << characterAge << " years old" << std::endl;
cout << "He liked the name " << characterName << std::endl;
cout << "But did not like being " << characterAge << std::endl;
return 0;
}