#include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
int main()
{
std::vector<int> v(10);
std::iota(v.begin(), v.end(), 1);
std::random_shuffle(v.begin(), v.end());
for(std::size_t n=0; n<v.size(); ++n)
std::cout << v[n] << ' ';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8bnVtZXJpYz4KaW50IG1haW4oKQp7CiAgICBzdGQ6OnZlY3RvcjxpbnQ+IHYoMTApOwogICAgc3RkOjppb3RhKHYuYmVnaW4oKSwgdi5lbmQoKSwgMSk7CiAgICBzdGQ6OnJhbmRvbV9zaHVmZmxlKHYuYmVnaW4oKSwgdi5lbmQoKSk7CgogICAgZm9yKHN0ZDo6c2l6ZV90IG49MDsgbjx2LnNpemUoKTsgKytuKQogICAgICAgIHN0ZDo6Y291dCA8PCB2W25dIDw8ICcgJzsKfQo=