#include "pch.h"
#include <iostream>
#include <stdio.h>
#include <math.h>
using namespace std;
int main()
{
float a = 2;
float x = 1;
for (; x <= 8; x += 0.5)
{
if (a > x)
cout << a * a + x << "\n";
else if (a == x)
cout << a * a << "\n";
else
cout << a * a - x << "\n";
if (a < 10)
a++;
}
}