#include <iostream>
#include <string>

struct Student {
    std::string name;
    int age;
    double gpa;
    std::string faculty;
};

struct City {
    std::string cityName;
    std::string countryName;
    int population;
};

struct University {
    std::string universityName;
    City location;
    Student students[3];
};

int main() {
    University myUniversity;

    myUniversity.universityName = "Example University";

    myUniversity.location.cityName = "Example City";
    myUniversity.location.countryName = "Example Country";
    myUniversity.location.population = 1000000;

    myUniversity.students[0] = {"Alice", 20, 3.8, "Computer Science"};
    myUniversity.students[1] = {"Bob", 22, 3.5, "Mathematics"};
    myUniversity.students[2] = {"Charlie", 21, 3.9, "Physics"};

    std::cout << "University Name: " << myUniversity.universityName << std::endl;
    std::cout << "Location: " << myUniversity.location.cityName << ", " << myUniversity.location.countryName << std::endl;
    std::cout << "Population: " << myUniversity.location.population << std::endl;

    for (int i = 0; i < 3; ++i) {
        std::cout << "Student " << i + 1 << ":" << std::endl;
        std::cout << "Name: " << myUniversity.students[i].name << std::endl;
        std::cout << "Age: " << myUniversity.students[i].age << std::endl;
        std::cout << "GPA: " << myUniversity.students[i].gpa << std::endl;
        std::cout << "Faculty: " << myUniversity.students[i].faculty << std::endl;
    }

    return 0;
}

