solution
print all solution