def print_one():
	print("+----+----+")


def print_two():

	print("|    |    |")


print_one();print_two();print_two();print_two();print_two();print_one();print_two();print_two();print_two();print_two();print_one();
