#include<stdio.h>
struct rays{
    int ID;
    char Name[3];
    int Value;
};

int main(){
    int size;
    scanf("%d",&size);
    if(size<0){
        printf("Invalid input");
    }
    struct rays ray[size];
        for(ind=0;ind<size;ind++){
            scanf("%d",&ray[ind].ID);
            scanf("%s" ,ray[ind].Name);
            scanf("%d" ,&ray[ind].Value);
            
        }
        for(ind=0;ind < size ; ind++)
     
        printf("ID: %d ,Name: %s ,Value: %d \n",ray[ind].ID,ray[ind].Name,ray[ind].Value );
    return 0;
    }
}