#include <iostream>
using namespace std;
int main() {
int firstValue, secondValue;
cin >> firstValue >> secondValue;
// Write your dynamic allocation logic here
int * packet = new int(firstValue);
delete packet;
packet = nullptr;
packet = new int(secondValue);
printf("%u", *packet);
delete packet;
packet = nullptr;
return 0;
}