#include <iostream>
#include <string>
#include <memory>
using namespace std;
void f(std::unique_ptr<int>& ip)
{
std::cout << *ip << std::endl;
}
int main()
{
int i = 9333;
std::unique_ptr<int> ip(new int(i));
f(ip);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8bWVtb3J5PgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnZvaWQgZihzdGQ6OnVuaXF1ZV9wdHI8aW50PiYgaXApCnsKICAgIHN0ZDo6Y291dCA8PCAqaXAgPDwgc3RkOjplbmRsOwp9CmludCBtYWluKCkKewogICAgaW50IGkgPSA5MzMzOwogICAgc3RkOjp1bmlxdWVfcHRyPGludD4gaXAobmV3IGludChpKSk7CiAgICBmKGlwKTsKfQo=