#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
using namespace std;
int main(int argc,char **argv)
{
string inputname = argv[1];
string outputname = argv[2];
ifstream f1;
ofstream f2;
f1.open(inputname.c_str());
f2.open(outputname.c_str());
f2<<fixed;
while(!f1.eof())
{
string s;
getline(f1,s);
if(!s.empty())
{
stringstream ss;
ss<<s;
double tmp;
for (int i = 0; i < 8; ++i)
{
ss>>tmp;
f2 << tmp;
if(i<7)
{
f2<<" ";
}
}
f2<<endl;
}
}
std::cout << "Hello, World!" << std::endl;
return 0;
}