#include<stdio.h>

typedef struct student{
    int id,value;
    char name[20];
}sample;
int main()
{
    int ind,size;
    scanf("%d",&size);
    if(size<0)
    {
        printf("Invalid input");
        return 0;
    }
    sample 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);
    return 0;
}