#include <stdio.h>
struct item {
    int id;
    char name[20];
    int value;
};
int main()
{
    int size,ind;
    scanf("%d",&size);
    struct item store[size];
    for(ind=0;ind<size;ind++){
        scanf("%d%s%d",&store[ind].id,store[ind].name,&store[ind].value);
    }
    for(ind=0;ind=1;ind++){
        printf("ID: %d, \n",store[ind].id);
        printf("Name: %s, \n",store[ind].name);
        printf("Value: %d",store[ind].value);
    }
    return 0;
}