class Pair
{
public:
Pair(int a, int b);
int get_first() const;
int get_second() const;
private:
int first;
int second;
};
inline Pair::Pair(int a, int b)
{
first = a;
second = b;
}
inline int Pair::get_first() const
{
return first;
}
inline int Pair::get_second() const
{
return second;
}