int main() {
    int n;
    printf("Enter the number of employees: ");
    scanf("%d", &n);

    if (n < 0) {
        printf("-1\n");
        return 0;
    }

    struct Employee employees;
    float total_salary = 0.0;

    for (int i = 0; i < n; i++) {
    
        getchar(); 
        printf("Enter name for employee %d: ", i + 1);
        fgets(employees[i].name, sizeof(employees[i].name), stdin);
        employees[i].name[strcspn(employees[i].name, "\n")] = 0; // Remove newline

        printf("Enter ID and type (1 for full-time, 2 for part-time) for employee %d: ", i + 1);
        scanf("%d %d", &employees[i].id, &employees[i].type);

        if (employees[i].type == 1) { // Full-time
            printf("Enter full-time salary for employee %d: ", i + 1);
            scanf("%d", &employees[i].data.full_time_salary);
            total_salary += employees[i].data.full_time_salary;
        } else if (employees[i].type == 2) { // Part-time
            printf("Enter part-time hourly rate for employee %d: ", i + 1);
            scanf("%f", &employees[i].data.part_time_hourly_rate);
            
            total_salary += employees[i].data.part_time_hourly_rate * 160; 
        } else {
            printf("Invalid employee type for employee %d. Skipping.\n", i + 1);
        }
    }