#include <iostream>
#include <iomanip>
#include <array>
#include <random>
#include <functional>
#include <algorithm>
using namespace std;

int main() {
	// your code goes here
	std::array<float, 10> x;
    std::array<float, 10> y;

    std::random_device rd;
    std::mt19937_64 gen(rd());
    std::uniform_real_distribution<float> dis(-1.f, 1.f);
    auto rand = std::bind(dis, gen);
    std::generate(x.begin(), x.end(), rand);
    std::generate(y.begin(), y.end(), rand);
    
      for (size_t i = 0; i < x.size(); ++i)
    {
      std::cout << std::setw(3) << i << ": ";
      std::cout << std::setw(10) << x[i] << ", "
                << std::setw(10) << y[i] << std::endl;
    }

	return 0;
}