solution output
output