def ile_pol(n):
    return n * n

def ile_kolorowych(n, kolor):
    if kolor == "b":
        return n * n // 2
    else:
        return (n * n - 1) // 2 + 1

def testuj_szachownica(n):
    for i in range(2, n + 1):
        print(i, ile_pol(i), ile_kolorowych(i, "b"), ile_kolorowych(i, "c"))

testuj_szachownica(32)# your code goes here