#include int sum_exp(int h,int h_exp[1000],int max_i[6]) { int i,sum=0; for(i=0;imax) { max = exp[i]; max_i = i; } } return max_i; } int main (void) { int n,g[1000],d[1000],i,h_exp[1000],h_exp_c[1000],h=6,d_exp=30000,j=0,sum=0,max_i[6]; scanf("%d",&n); for(i=0;id_exp*100) { printf("YES\n"); sum = sum_exp(h,h_exp,max_i); while(sum<=d_exp*100&&j<3) { max_i[5-j]=max_i[j]; j++; sum = sum_exp(h,h_exp,max_i); } j=0; while(sum<=d_exp*100&&j<2) { max_i[2+j]=max_i[j]; j++; sum = sum_exp(h,h_exp,max_i); } j=0; while(sum<=d_exp*100&&j<5) { max_i[j]=max_i[0]; j++; sum = sum_exp(n,h_exp,max_i); } for(i=0;i