#include
struct infor
{ int weight;
int heght;
}stu;
main()
{ FILE *fg;
fg=fopen("data.txt","wr");
scanf("%d,%d",&stu.heght,&stu.weight);
fwrite(&stu,sizeof(struct infor),1,fg);
fread(&stu,sizeof(struct infor),1,fg);
printf("%d,%d",stu.heght,stu.weight);
fclose(fg);
}