Finished. Output is correct