#include<stdio.h>
#include<ctype.h>
typedef struct order{
    char name[50];
    int id;
    float price;
}od;
int main(){
    int n,tot;
    tot=0;
    scanf("%d",&n);
    if(n<0)
    {
        printf("Invalid input");
        return 0;
    }
    od a[n];
    for(int i=0;i<n;i++)
    {
        scanf("%s %d %f\n",a[i].name,&a[i].id,&a[i].price);
        for(int j=0;name[i]!='\0';j++){
            if(isalnum(a[i].name)){
                printf("Invalid input");
            }
        }
        
    }
    float tot;
    tot=0.0;
    tot+=a[i].price;
    for(int i=0;i<n;i++){
        printf("%.2f",tot);
    }
    
        
}