#include<stdio.h>
typedef struct stdnt{
    int num;
    int id;
    int value;
    char name[50];
    
}std;
int main(){
    int size;
    int ind;
    scanf("%d",&size);
    if(size<0){
        printf("Invaid input");
        return 0;
    }
    std stud[size];
    for(ind=0;ind<size;ind++){
    
        scanf("%d",&stud[ind].id);
        scanf("%s",&stud[ind].name);
        scanf("%d",&stud[ind].value);
        
    }
    printf("ID: %d,\n",stud[0].id);
    printf("Name: %s,\n",stud[0].name);
    printf("Value: %d",stud[0].value);
}