#include<stdio.h>
#include<string.h>
union Employee {
    int fullTimeSalary;
    float partTimeSalary;
};
struct Employee(); {
    char name[20];
    int id;
    int type;
   struct Employee ;
};
int s() {
    int n;
    scanf("%d", &n);
    if(n<0) {
        printf("-1");
        return 0;
    }
    struct Employee emp[10];
    float total = 0.0;
    for (int i=0;i<n;i++) {
        scanf("%s %d %d", emp[i].name,&emp[i].id,&emp.type);
        if(emp[i].type==1) {
            scanf("%d",&emp[i].data.fullTimeSalary);
            total+=emp[i].data.fullTimeSalary;
        }
        else if (emp[i].type==2) {
            scanf("%f",&emp[i].data.partTimeRate);
            total+=emp[i];
        }
    }
}