#include<bits/stdc++.h> using namespace std; int main() {cout<<"12456"<<endl; cout<<"1"<<endl; return 0; }