#include <iostream>
#include <vector>
#include <iostream>
#include <complex>
using namespace std;

int main() {
	// your code goes here
	std::vector<std::complex<double>> vec1 { std::complex<double>(1., 2.),
	std::complex<double>(3., 4.) };
	printf("%f %f\n", vec1[0].real(), vec1[0].imag());
	printf("%f %f\n", vec1[1].real(), vec1[1].imag());
	return 0;
}