#include #include int main() { int n; scanf("%d",&n); char* *genes = malloc(sizeof(char*)*n); for(int genes_i = 0; genes_i < n; genes_i++) { genes[genes_i] = (char *)malloc(10240 * sizeof(char)); scanf("%s",genes[genes_i]); } int *health = malloc(sizeof(int) * n); for(int health_i = 0; health_i < n; health_i++) scanf("%d",&health[health_i]); int s; scanf("%d",&s); unsigned int arr[s],i,j,t=0; for(i=0;iarr[i]) min=arr[i]; if(max