A Ponzi scheme is a fraudulent investment operation where early investors are paid with the money of new investors. It…