#include <iostream> using namespace std; int main() { double p,t,g1,g2,g3,gl; while(cin>>p>>t>>g1>>g2>>g3>>gl){ double res=0; if(abs(g1-g2)<=t){ printf("%.1lf",(g1+g2)/2); }else{ int l1=g1...