#include <bits/stdc++.h>
using namespace std;
int main()
{
int r;
cin>>r;
int x = 0, y = r, d = 3-2r;
while(x <= y)
{
setPixel(x, y);
if (d < 0) {
d = d + 4x + 6;
}
else {
d= d + 4(x-y) + 10;
y--;
}
x++;
}
return 0;
}