#include <fstream>
#include <string>
using namespace std;
ifstream infile;
ofstream outfile;
string str;
void test() {
infile.open("test.txt");
outfile.open("test2.txt");
while(!infile.eof()) {
getline(infile,str);
if(str.length()>=10) {
outfile<<str<<"\r\n";
}
}
infile.close();
infile.clear();
outfile.close();
}
int main(){
test();
}