#include<bits/stdc++.h>

using namespace std;

int main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout << "6 5 4 3 1 2\n";
  return 0;
}