#include<iostream>
class Tree
{
public:
Tree (int x) {ages=x;};
void grow(int );
void age ( );
private:
int ages;
int years;
};
void Tree :: grow (int years)
{
int sum=years+Tree::ages;
std :: cout <<sum<<std ::endl;
};
void Tree :: age()
{
std :: cout<<ages;
}
int main()
{
Tree a(2);
a.grow(2);
a.age();
}