#include <iostream>
#include <cstdint>
#include <new>
#include <type_traits>
using namespace std;
// Write your struct and placement new logic here
struct SensorPacket
{
int id;
int value;
};
int main() {
int index, id, value;
cin >> index >> id >> value;
// Write your pool construction code here
alignas(SensorPacket) uint8_t buffer[3*sizeof(SensorPacket)];
SensorPacket* SP = new (buffer) SensorPacket{index};
SP->id = id;
SP->value = value;
cout << id << " " << value ;
SP->~SensorPacket();
return 0;
}