Solution to the problem number 1124 of UVA - 1124.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
using namespace std;
int main()
{
    string a;
    while(getline(cin,a))
        cout<<a<<endl;
return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!