Updated 024 to print only final output.