1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <iostream>
using namespace std;

struct punkt{
  float x;
  float y;
  //int z;
  
};

struct wektor{
  punkt p;
  punkt k;
  //int z;
  
};

int main() {
wektor w;
cin>>w.p.x>>w.p.y>>w.k.x>>w.k.y;
cout.precision(2);
cout<<fixed<<(w.p.x+w.k.x)/2<<" "<<(w.p.y+w.k.y)/2;

	return 0;
}