#include <iostream>
#include <vector>
#include <stack>
#include <fstream>
#include <algorithm>
 
using namespace std;

class Point {
private:
    int x;
    mutable int y;
public:
    Point(int _x = 0, int _y = 0) {
        x = _x;
        y = _y;
    }
    
    int get_x() const {
        return x;
    }
    int get_y() const {
        y++;
        return y;
    }
};
int main()
{
    const Point p(10, 10);
    cout << p.get_y() << endl;
     
    return 0;
}
