#include <iostream>
using namespace std;

class Player
{
	public: int hp;
	Player(int h): hp(h){};
};

int main() {
	Player* heheszki[4];
	for(int i=0;i<4;++i)
	{
		heheszki[i] = new Player(i);
	}
	cout<<heheszki[0]->hp<<"\n";
	cout<<heheszki[1]->hp<<"\n";
	cout<<heheszki[2]->hp<<"\n";
	cout<<heheszki[3]->hp<<"\n";
	
	return 0;
}