#include <iostream>

using namespace std;

class mystruct
{
    private:
        int m_a;
        float m_b;

    public:
        mystruct(int x, float y)
        {
                m_a = x;
                m_b = y;
        }
    friend ostream& operator << (ostream& os, const mystruct& m)
    {
    	os << m.m_a <<" " << m.m_b << endl;
    	return os ;
    }

};


int main()
{

        mystruct m = mystruct(5,3.14);

        cout << "my structure " << m << endl;

        return 0;
}