{ int a,b,c,x,y,z; double v,u,w,q; cin>>a>>b>>c>>x>>y>>z; v=a*x+b*y+c*z; u=x+y+z; w=v/u; if(a<60){ q++; } if(b<60){ q++; } if(c<60){ q++; } if(q<=1){ cout<<"PASS"<<endl; } else{ cout<<"FAIL"<<endl; } if(w<60){ cout<<"FAIL"; } else{ cout<<"PASS"; } }