Squares and cubes

Modified