#include <iostream>
using namespace std;

int main()
{
    const int DATA_MAX = 10;
    int* data = new int[DATA_MAX];
    for (int i = 0; i < DATA_MAX; i++) data[i] = (i + 1) * (i + 1);
    for (int i = 0; i < DATA_MAX; i++) cout << data[i] << ",";
    delete[] data;
}
