#include <stdio.h>
#include <stdlib.h> struct student{
int num;
char str[];
double dec;
}; int main(){ int n;
struct student stu[]; scanf("%d", &n);
for(int i = ; i < n; ++i){
scanf("%d%s%lf", &stu[i].num, stu[i].str, &stu[i].dec);
} printf("%d\n", n);
for(int i = ; i < n; ++i){
printf("%d %s %lf\n", stu[i].num, stu[i].str, stu[i].dec);
}
return ;
}
/*
3
20 字符串0 20.02
21 字符串1 21.12
22 字符串2 22.22
*/