#include<stdio.h>
enum xing{sun,mon,tue,wed,thu,fri,sat};
struct Qiwen{
char weizhi[10];	
int wen;
enum xing xing1; 	
}didian[]={{"hebei",12,sun},{"habin",12,mon},{"liaoning",13,tue},{"jilin",12,wed},{"dalian",12,thu},{"henan",12,fri},{"jinan",12,sat}};
int main(){
int cf(int *p );

//enum xing ;	
struct Qiwen *p; 
int a;	
a=cf(*p);
printf("%d",a);
return 0;	
}
int cf(int *p){
int n,i,sum;    
sum=0;    
for(i=0;i<7;i++)    
  sum=sum+p->wen;  
n=sum/7;    
return n;    
    }