Please run all this codes and implement the codes following what the output show