Pagini recente » Cod sursa (job #1787608) | Cod sursa (job #62711) | Cod sursa (job #1969010) | Cod sursa (job #360797) | Cod sursa (job #2602260)
#include <iostream>
#include <fstream>
using namespace std;
ifstream fin("lacate.in");
ofstream fout("lacate.out");
int n;
void read(){
fin >> n;
}
void solve(){
if(n == 2){
fout << "1 1\n";
}else{
fout << "2 1\n";
}
fout << "1\n1\n";
for(int i = 2; i < n; ++i){
fout << "2\n";
}
}
int main(){
// ios_base::sync_with_stdio(false);
read();
solve();
return 0;
}