#include <iostream>
using namespace std;

class Point
{
public:
    void SetXY(int x, int y) { X = x; Y = y; }
    void print() { cout << "<" << X << "," << Y << ">" << endl; }

private:
    int X;
    int Y;
};

int main()
{
    int x, y;
    Point p1;

    cout << "Please Input the X and Y : ";
    cin >> x >> y;

    p1.SetXY(x, y);
    p1.print();

    return 0;
}
