# Arup Guha
# 2/8/2020
# Solution to COP 2930 Individual Program #2A: Biggest Yard

def main():

    # Get the fence length and calculate sum of two dimensions.
    lengthFence = int(input("How much fencing do you have, in feet?\n"))
    totalSum = lengthFence//2
    
    # Try each smaller dimension.
    for length in range(1,totalSum//2+1):

        # Everything can be calculated based on length and totalSum.
        print(length,"by",totalSum-length,"with area",length*(totalSum-length))

# Start it.
main()
