#include <iostream>
#include <string>
using namespace std;
int main(int argc, char** argv){
string a,b,c;
cin>>a>>b>>c;
cout<<a<<" "<<b<<" "<<c<<" "<<a<<" "<<b<<" "<<c;
}
#include
#include
using namespace std;
int main(int argc, char** argv){
string a,b,c;
cin>>a>>b>>c;
cout<<a<<" "<<b<<" "<<c<<" "<<a<<" "<<b<<" "<<c;
}
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
string a;
getline(cin,a);
cout<<a<<" "<<a;
}
上一個算是偷吃步,所以我補了較好的解答。