Original sentence: hes uncool
Edited sentence: After finishing school in 1810, Cauchy accepted a job as a junior engineer in Cherbourg, where Napoleon intended to build a naval base.Although he formally kept his engineering position, he was transferred from the payroll of the Ministry of the Marine to the Ministry of the Interior.Another reason for his return to the capital was that he was losing his interest in his engineering job, being more and more attracted to abstract beauty of mathematics; in Paris he would have a much better chance to find a mathematics related position.Cauchy's first two manuscripts (on polyhedra) were accepted; the third one (on directrixes of conic sections) was rejected.He attempted admission to the First Class of the Institut de France, but failed on three different occasions between 1813 and 1815.Here Augustin-Louis stayed for three years, and although he had an extremely busy managerial job, he still found time to prepare three mathematical manuscripts, which he submitted to the Première Classe (First Class) of the Institut de France.In 1815 Napoleon was defeated at Waterloo, and the newly installed Bourbon king Louis XVIII (a brother of the beheaded Louis XVI) took the restoration in hand.In September 1812, now 23 years old, after becoming ill from overwork, Cauchy returned to Paris.The Académie des Sciences was re-established in March 1816; Lazare Carnot and Gaspard Monge were removed from this Academy for political reasons, and the king appointed Cauchy to take the place of one of them.The next three years Augustin-Louis was mainly on unpaid sick leave, and spent his time quite fruitfully, working on mathematics (on the related topics of symmetric functions, the symmetric group and the theory of higher-order algebraic equations).The reaction by Cauchy's peers was harsh; they considered his acceptance of membership of the Academy an outrage, and Cauchy thereby created many enemies in scientific circles