#include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> s;
s.push_back(1);
s.push_back(2);
s.push_back(3);
s.push_back(4);
s.push_back(5);
s.push_back(6);
int t = 10;
while(t--) {
random_shuffle(s.begin(),s.end());
for(int i=0; i<s.size(); i++) {
cout<<s[i]<<" ";
}
cout<<endl;
}
return 0;
}