// editor3
#include<stdio.h>
typedef struct Product{
    char name[];
    int id;
    float price;
}P;
int main(){
    int n,ind;
    scanf("%d",&n);
    if(n<0){
        printf("Invalid input");
        return 0;
    }
    S stud[n];
    for(ind=0;ind<n;ind++){
        scanf("%s",stud[ind].name);
        scanf("%d",&stud[ind].id);
        scanf("%f",&stud[ind].price);
    }
    float total=0;
    for(ind=0;ind<n=n++){
        total +=stud[ind].price;
    }
}