#include <iostream>

using namespace std;

class foo
{
public:
    foo():test(2)
    {
        //test = 2;
    }
    int get()
    {
        return test;
    }
private:
    const int test;
};

int main()
{
    foo f;
    cout<<f.get();

    return 0;
}
