#include <iostream>
using namespace std;
// Write your struct and dynamic allocation code here
struct SensorData{
int x,y,z;
};
int main() {
int x, y, z;
cin >> x >> y >> z;
struct SensorData*ptr=new(struct SensorData);
// Write your dynamic allocation logic here
ptr->x=x;
ptr->y=y;
ptr->z=z;
cout<<ptr->x<<" "<<ptr->y<<" "<<ptr->z<<endl;
delete ptr;
return 0;
}