#include<stdio.h>
#include<string.h>
struct point
{
float x;
float y;
}stu1,stu2;
int main()
{
scanf("%f%f",&stu1.x,&stu1.y);
scanf("%f%f",&stu2.x,&stu2.y);
float t1,t2;
t1=(stu1.x+stu2.x)/2;
t2=(stu1.y+stu2.y)/2;
printf("%.1f %.1f",t1,t2);
return 0;
}