#include <iostream>
#include <fstream>
using namespace std;
int main(){
	ifstream file;
	char linea[100];
	file.open("prueba.txt");
	if( !file ){
		return(1);
	}
	else{
		while( ! file.eof() ) {
			file >> linea;
			cout << linea << endl;
		}
		file.close();
	}
	return 0;
}

