#include <iostream>
#include <vector>

using namespace std;

struct Person {
    unsigned int id;
    std::string name;
    uint8_t age;
    // ...
};

int main() {

    std::istream& ifs = cin; // Open file alternatively
    std::vector<Person> persons;

    Person actRecord;
    while(ifs >> actRecord.id >> actRecord.name >> actRecord.age) {
        persons.push_back(actRecord);
    }

    if(!ifs) {
        std::cerr << "Input format error!" << std::endl;
        return -1;
    } 
	return 0;
}